/* GMP141 (Round 141, order 1): the shared look of the public pages, from her approved mock-ups v8 (01-cover, 09-cover-phone).
   One file for every public page: colours, the two bundled fonts, the header, the footer, buttons, glass cards, the teal grid
   banner, and the cover's sections. The portal keeps its own look and font.
   Phone: max-width 640px follows 09-cover-phone. The header turns into one menu button under 1240px.
   Sample colours (Math blue, R&W violet) are never here: they live inside the sample dashboard of the cover only.          */

/* ---- fonts: Lora (headings, 400 to 700, italic) and Inter Tight (body, 100 to 900), bundled with Cyrillic, no Google link */
@font-face{font-family:'Lora';font-style:normal;font-display:swap;font-weight:400 700;src:url(fonts/lora-cyrillic-ext-wght-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Lora';font-style:normal;font-display:swap;font-weight:400 700;src:url(fonts/lora-cyrillic-wght-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Lora';font-style:normal;font-display:swap;font-weight:400 700;src:url(fonts/lora-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Lora';font-style:normal;font-display:swap;font-weight:400 700;src:url(fonts/lora-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Lora';font-style:italic;font-display:swap;font-weight:400 700;src:url(fonts/lora-cyrillic-ext-wght-italic.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Lora';font-style:italic;font-display:swap;font-weight:400 700;src:url(fonts/lora-cyrillic-wght-italic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Lora';font-style:italic;font-display:swap;font-weight:400 700;src:url(fonts/lora-latin-ext-wght-italic.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Lora';font-style:italic;font-display:swap;font-weight:400 700;src:url(fonts/lora-latin-wght-italic.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Inter Tight';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-tight-cyrillic-ext-wght-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Inter Tight';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-tight-cyrillic-wght-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter Tight';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-tight-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter Tight';font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/inter-tight-latin-wght-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---- colours (her order, section 1: do not change them) */
:root{
  --pub-teal:#0B3C49;      /* deep teal: frame, headings, main dark buttons */
  --pub-teal-d:#06252E;    /* darker teal */
  --pub-teal-m:#12707F;    /* teal */
  --pub-amber:#FFAD1F;     /* the one main action on a screen, gold accents */
  --pub-amber-d:#E39400;   /* amber dark */
  --pub-paper:#F3F7F8;     /* page background */
  --pub-cream:#FBF7EF;     /* teacher section */
  --pub-ink:#131A2E;       /* body text */
  --pub-slate:#5C6685;     /* secondary text */
  --pub-rule:#D5E3E7;      /* lines and borders */
  /* the in-between shades of the mock-ups */
  --pub-ink2:#3A4560; --pub-on-dark:#E3EEF1; --pub-on-dark2:#D5E8EC; --pub-mist:#8FB9C2; --pub-foot:#B9D2D8;
  --pub-edge:#2C6273; --pub-ice:#E3F0F2; --pub-ice2:#E6F0F3; --pub-sand:#FFF1D6; --pub-brown:#7A4A00; --pub-bronze:#8A5300;
  --pub-line:#C5D6DB; --pub-line2:#E3ECEF; --pub-tan:#EDE3D0; --pub-faq:#FBFAF7; --pub-band-ink:#3D2A00;
  --pub-wa:#25A35A; --pub-bezel:#0B1418; --pub-green:#0B6E4F;
  --pub-serif:'Lora',Georgia,'Times New Roman',serif;
  --pub-sans:'Inter Tight',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
}

/* ---- page */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body.pub{margin:0;background:var(--pub-paper);color:var(--pub-ink);font-family:var(--pub-sans);font-size:18px;line-height:1.55}
.pub *,.pub *::before,.pub *::after{box-sizing:border-box}
.pub img{max-width:100%}
.pub a{color:var(--pub-teal)}
.pub a:hover{color:var(--pub-teal-m)}
.pub :focus-visible{outline:3px solid var(--pub-amber);outline-offset:2px}
.pub-serif{font-family:var(--pub-serif)}
.pub-wrap{max-width:1240px;margin:0 auto;padding-left:32px;padding-right:32px}
.pub-ph{display:none}                 /* phone only (09-cover-phone) */
.pub-grid-bg{background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px) 0 0/56px 56px,linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/56px 56px,linear-gradient(165deg,#0B3C49,#0C4251 60%,#0B3C49)}
.pub-glass{background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.04));border:1px solid rgba(143,185,194,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.pub-glass.is-lit{border:2px solid rgba(64,170,190,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 4px rgba(64,170,190,.12),0 0 34px rgba(64,170,190,.30)}
.pub-eyebrow{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:15px;letter-spacing:.14em;text-transform:uppercase}
.pub-eyebrow::before{content:"";width:28px;height:3px;border-radius:3px;background:currentColor}
.pub-eyebrow.is-teal{color:var(--pub-teal-m)}
.pub-eyebrow.is-amber{color:var(--pub-amber)}
.pub-eyebrow.is-amberd{color:var(--pub-amber-d)}
.pub-h2{margin:0;font-family:var(--pub-serif);font-weight:700;font-size:52px;line-height:1.1}
.pub-h2.is-teal{color:var(--pub-teal)}
.pub-svg{display:block;flex:none}

/* ---- buttons: pills with a round icon disc on the left */
.pub-pill{display:inline-flex;align-items:center;gap:12px;border-radius:999px;text-decoration:none;font-weight:800;white-space:nowrap;line-height:1.2;border:0;cursor:pointer;font-family:inherit}
.pub-disc{width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
.pub-pill.is-main,.pub .pub-pill.is-main{background:var(--pub-amber);color:var(--pub-teal-d)}          /* the one main action */
.pub-pill.is-main .pub-disc{background:var(--pub-teal-d)}
.pub-pill.is-dark,.pub .pub-pill.is-dark{background:var(--pub-teal);color:#fff}                          /* the others */
.pub-pill.is-dark .pub-disc{background:var(--pub-amber)}
.pub-pill.is-night,.pub .pub-pill.is-night{background:var(--pub-teal-d);color:#fff}
.pub-pill.is-night .pub-disc{background:var(--pub-amber)}
.pub-pill.is-white,.pub .pub-pill.is-white{background:#fff;color:var(--pub-teal-d)}
.pub-pill.is-white .pub-disc{background:var(--pub-wa)}
.pub-pill.is-big{font-size:20px;padding:10px 30px 10px 10px}
.pub-pill.is-big .pub-disc{width:46px;height:46px}
.pub-pill.is-mid{font-size:18px;padding:8px 24px 8px 8px}
.pub-pill:hover{filter:brightness(1.06)}
.pub-pill.is-main.is-glow{box-shadow:0 14px 34px rgba(255,173,31,.35)}

/* ---- header (every public page): deep teal, 5px amber bottom border, the real logo at 64px */
.pub-hd{background:var(--pub-teal);border-bottom:5px solid var(--pub-amber);position:relative;z-index:30}
.pub-nav{padding-top:14px;padding-bottom:14px;display:flex;align-items:center;gap:16px 24px}
.pub-brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.pub-brand img{width:64px;height:auto;display:block}
.pub-brand-t{display:flex;flex-direction:column;gap:4px;line-height:1}
.pub-brand-t b{font-family:var(--pub-serif);color:#fff;font-size:26px;font-weight:700;letter-spacing:.05em;white-space:nowrap}
.pub-brand-t span{font-family:var(--pub-serif);color:var(--pub-amber);font-size:15px;font-weight:600;letter-spacing:.14em;white-space:nowrap}
.pub-menu{flex:1 1 auto;display:flex;align-items:center;gap:16px 24px;min-width:0}
.pub-links{display:flex;flex-wrap:wrap;gap:4px;flex:1 1 400px;justify-content:center;font-size:16px;font-weight:700}
.pub .pub-links a{color:var(--pub-rule);text-decoration:none;border-radius:999px;padding:9px 14px;white-space:nowrap}
.pub .pub-links a:hover{color:#fff;background:rgba(255,255,255,.07)}
.pub .pub-links a[aria-current="page"]{color:var(--pub-teal-d);background:var(--pub-amber);padding:9px 16px}
.pub-tools{display:flex;align-items:center;gap:10px;flex:none}
.pub-lang{display:flex;border:1px solid var(--pub-edge);border-radius:999px;overflow:hidden;font-size:13px;font-weight:800}
.pub-lang span,.pub-lang a{padding:7px 11px}
.pub-lang .is-on{background:#fff;color:var(--pub-teal-d)}
.pub .pub-lang a.is-off{color:var(--pub-rule);text-decoration:none}      /* GMP142: the other language is a link, as in 01-cover */
.pub .pub-lang a.is-off:hover{color:#fff;background:rgba(255,255,255,.07)}
.pub .pub-signin{color:#fff;border:1.5px solid var(--pub-edge);padding:6px 16px 6px 6px;font-size:15px}
.pub .pub-signin:hover{color:#fff;background:rgba(255,255,255,.06)}
.pub-signin .pub-disc{width:32px;height:32px;background:var(--pub-teal-m)}
.pub-menu-btn,.pub-langmini{display:none}
.pub-menu-btn{width:46px;height:46px;border-radius:12px;border:1px solid var(--pub-edge);background:transparent;align-items:center;justify-content:center;cursor:pointer;padding:0;flex:none}
.pub-langmini{color:#fff;font-size:12px;font-weight:800;border:1px solid var(--pub-edge);border-radius:999px;padding:5px 9px;line-height:1.3}
.pub a.pub-langmini{color:#fff;text-decoration:none;position:relative}  /* GMP142: the phone pill switches the language */
.pub a.pub-langmini:hover{color:#fff;background:rgba(255,255,255,.07)}
.pub a.pub-langmini::after{content:"";position:absolute;left:-4px;right:-4px;top:-10px;bottom:-10px}   /* a 48 px tall place to tap */

@media (max-width:1239px){
  .pub-nav{flex-wrap:nowrap;justify-content:space-between;gap:10px}
  .pub-menu-btn{display:flex}
  .pub-langmini{display:inline-block}
  .pub-hd-r{display:flex;align-items:center;gap:8px;flex:none}
  .pub-menu{display:none;position:absolute;left:0;right:0;top:100%;background:var(--pub-teal);border-bottom:5px solid var(--pub-amber);
    flex-direction:column;align-items:stretch;gap:14px;padding:14px 16px 20px;box-shadow:0 18px 40px rgba(0,0,0,.25)}
  .pub-hd.is-open .pub-menu{display:flex}
  .pub-links{flex-direction:column;align-items:stretch;gap:2px;flex:none;font-size:17px}
  .pub .pub-links a{padding:12px 16px}
  .pub .pub-links a[aria-current="page"]{padding:12px 16px}
  .pub-tools{justify-content:space-between}
}
@media (min-width:1240px){ .pub-hd-r{display:none} }

/* ---- hero (cover) */
.pub-hero{color:#fff;overflow:hidden}
.pub-hero-in{padding-top:64px;padding-bottom:110px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.pub-hero-text{flex:1 1 540px;min-width:0;display:flex;flex-direction:column;gap:24px}
.pub-badge{align-self:flex-start;display:flex;align-items:center;gap:10px;background:var(--pub-amber);color:var(--pub-teal-d);border-radius:999px;padding:8px 18px 8px 8px;font-weight:800;font-size:16px}
.pub-badge-disc{width:26px;height:26px;border-radius:50%;background:var(--pub-teal-d);display:flex;align-items:center;justify-content:center;flex:none}
.pub-h1{margin:0;font-family:var(--pub-serif);font-size:60px;line-height:1.06;font-weight:700;letter-spacing:-.015em}
.pub-h1 em{color:var(--pub-amber);font-style:italic}
.pub-lede{margin:0;font-size:22px;line-height:1.5;color:var(--pub-on-dark);max-width:600px}
.pub-chips{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.pub-chip{display:flex;align-items:center;gap:14px;border-radius:16px;padding:12px 20px}
.pub-chip b{font-size:23px;color:#fff}
.pub-chip i{width:1px;height:24px;background:rgba(255,255,255,.3);flex:none}
.pub-chip span{font-size:18px;color:var(--pub-on-dark2)}
.pub-ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:4px}
.pub-note{font-size:16px;color:var(--pub-mist)}
.pub-hero-art{flex:1 1 460px;min-width:0;display:flex;justify-content:center}
.pub-art{position:relative;width:500px;max-width:100%;height:580px}
.pub-photo{position:absolute;left:0;top:0;width:392px;height:494px;border-radius:32px;overflow:hidden;border:6px solid #fff;box-shadow:0 30px 70px rgba(0,0,0,.4)}
.pub-photo img{width:100%;height:100%;object-fit:cover;display:block}
.pub-phone{position:absolute;right:0;top:170px;width:196px;height:396px;border-radius:30px;background:var(--pub-bezel);padding:8px;box-shadow:0 30px 60px rgba(0,0,0,.5)}
.pub-phone-scr{width:100%;height:100%;border-radius:23px;overflow:hidden;background:#fff}
.pub-phone-scr img{width:100%;height:auto;display:block}
.pub-time{position:absolute;left:-12px;bottom:10px;background:#fff;color:var(--pub-ink);border-radius:20px;padding:14px 18px;box-shadow:0 16px 40px rgba(0,0,0,.3);display:flex;align-items:center;gap:12px}
.pub-time .pub-disc{width:44px;height:44px;background:var(--pub-amber)}
.pub-time-t{display:flex;flex-direction:column;line-height:1.15}
.pub-time-t b{font-size:24px}
.pub-time-t span{font-size:14px;color:var(--pub-slate)}

/* ---- four stat cards (numbers from the build) */
.pub-stats-wrap{margin-top:-56px;position:relative}
.pub-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}
.pub-stat{background:#fff;border:1px solid var(--pub-rule);border-radius:22px;padding:20px 22px;display:flex;gap:16px;align-items:center;box-shadow:0 18px 40px rgba(11,60,73,.14)}
.pub-stat .pub-disc{width:58px;height:58px;background:var(--pub-ice)}
.pub-stat-t{display:flex;flex-direction:column;line-height:1.15}
.pub-stat-t b{font-size:34px;color:var(--pub-teal);font-weight:900}
.pub-stat-t span{font-size:16px;color:var(--pub-ink2);font-weight:600}

/* ---- four steps */
.pub-steps-sec{padding-top:88px;padding-bottom:24px;display:flex;flex-direction:column;gap:36px}
.pub-sec-head{display:flex;flex-direction:column;gap:12px;align-items:center;text-align:center}
.pub-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
.pub-step{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;position:relative}
.pub-step-line{position:absolute;top:32px;left:calc(50% + 40px);right:calc(-50% + 40px);height:2px;background:var(--pub-line)}
.pub-step-n{width:64px;height:64px;border-radius:50%;font-weight:900;font-size:26px;display:flex;align-items:center;justify-content:center;flex:none;line-height:1}
.pub-step-n.is-first{background:var(--pub-amber);color:var(--pub-teal-d);box-shadow:0 8px 20px rgba(255,173,31,.35)}
.pub-step-n.is-ring{background:#fff;border:3px solid var(--pub-teal-m);color:var(--pub-teal)}
.pub-step-n.is-done{background:var(--pub-teal);color:#fff}
.pub-step-t{display:flex;flex-direction:column;gap:10px}
.pub-step b{font-size:22px}
.pub-step-t span{color:var(--pub-slate);font-size:17px}

/* ---- prices */
.pub-prices-sec{padding-top:72px;padding-bottom:96px;display:flex;flex-direction:column;gap:32px}
.pub-prices-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.pub-prices-head>div{display:flex;flex-direction:column;gap:12px}
.pub-tag80{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--pub-rule);border-radius:999px;padding:8px 18px 8px 8px;font-weight:700}
.pub-tag80 .pub-disc{width:34px;height:34px;background:var(--pub-teal)}
.pub-prices{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px;align-items:stretch}
.pub-price{position:relative;background:#fff;border:1px solid var(--pub-rule);border-top:8px solid var(--pub-teal);border-radius:26px;padding:30px;display:flex;flex-direction:column;gap:16px;box-shadow:0 18px 44px rgba(11,60,73,.08);container-type:inline-size}
.pub-price.is-rw{border-top-color:var(--pub-amber)}
.pub-price.is-both{background:linear-gradient(170deg,#FFFFFF,#F1F8F9);border:2px solid var(--pub-teal-m);border-top:8px solid var(--pub-teal-m);box-shadow:0 22px 50px rgba(18,112,127,.18)}
.pub-price h3{margin:0;font-family:var(--pub-serif);font-size:32px;color:var(--pub-teal)}
.pub-days{align-self:flex-start;border-radius:12px;padding:7px 14px;font-weight:800;font-size:16px;background:var(--pub-ice2);color:var(--pub-teal)}
.pub-price.is-rw .pub-days{background:var(--pub-sand);color:var(--pub-brown)}
.pub-price.is-both .pub-days{background:var(--pub-ice)}
.pub-when{display:flex;align-items:center;gap:10px;color:var(--pub-ink2)}
.pub-when b{color:var(--pub-ink);white-space:nowrap}
.pub-price hr{border:0;height:1px;background:var(--pub-line2);margin:0}
.pub-price.is-both hr{background:var(--pub-rule)}
.pub-fee{font-size:46px;font-size:min(46px,14.8cqi);line-height:1;color:var(--pub-teal);font-weight:900;white-space:nowrap;letter-spacing:-.01em}   /* GMP142: never wider than its card */
html[lang="en"] .pub-fee{font-size:min(46px,13.8cqi)}
.pub-fee span{font-size:.39em;font-weight:600;color:var(--pub-slate)}
.pub-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.pub-two>span{background:var(--pub-paper);border-radius:16px;padding:12px;text-align:center;line-height:1.3}
.pub-price.is-both .pub-two>span{background:var(--pub-ice)}
.pub-two b{display:block;font-size:28px}
.pub-two em{font-style:normal;font-size:14px;color:var(--pub-slate)}
.pub-two em.is-small{font-size:13px;white-space:nowrap}
html[lang="en"] .pub-two em.is-small{white-space:normal}   /* GMP142: "academic hours / month" may take two lines in a narrow card */
.pub-price.is-both .pub-two em{color:var(--pub-ink2)}
.pub-price .pub-pill{margin-top:auto;justify-content:center;font-size:min(18px,calc((100cqi - 84px) / 11.8))}   /* GMP142: the button text never wider than its card */
.pub-save{position:absolute;top:-18px;right:22px;display:flex;align-items:center;gap:8px;background:var(--pub-amber);color:var(--pub-teal-d);font-weight:900;font-size:15px;border-radius:999px;padding:8px 16px;box-shadow:0 8px 18px rgba(255,173,31,.35)}
.pub-price-line{display:none}
.pub-hours-note{text-align:center;color:var(--pub-slate);font-size:16px}

/* ---- parents (teal grid) with the sample dashboard */
.pub-parents-in{padding-top:96px;padding-bottom:96px;display:flex;flex-wrap:wrap;gap:48px;align-items:center}
.pub-parents{color:#fff}
.pub-parents-text{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:20px}
.pub-parents h2{margin:0;font-family:var(--pub-serif);font-size:64px;line-height:1.05;font-weight:700}
.pub-parents-text p{margin:0;color:var(--pub-rule);font-size:20px}
.pub-plist{display:flex;flex-direction:column;gap:12px}
.pub-pitem{display:flex;align-items:center;gap:20px;border-radius:20px;padding:18px 22px}
.pub-pitem .pub-disc{width:61px;height:61px;background:rgba(255,173,31,.15);border:1.5px solid rgba(255,173,31,.5)}
.pub-pitem b{font-size:20px}
.pub-dash{flex:1 1 650px;min-width:0;border-radius:32px;padding:14px;box-shadow:0 30px 70px rgba(0,0,0,.3)}
.pub-dash-in{background:#fff;color:var(--pub-ink);border-radius:22px;padding:22px;display:flex;flex-direction:column;gap:16px}
.pub-dash-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.pub-dash-top b{font-size:26px}
.pub-sample-mark{background:var(--pub-sand);color:var(--pub-bronze);font-weight:800;font-size:15px;border-radius:999px;padding:8px 18px}
.pub-rings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pub-ring{background:#F1F6F7;border-radius:18px;padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.pub-ring svg{width:118px;height:118px;display:block}
.pub-ring b{font-size:19px}
.pub-ring small{font-size:13px;color:var(--pub-slate);margin-top:-4px}
.pub-ring .r-base{fill:none;stroke:var(--pub-rule);stroke-width:3.4}
.pub-ring .r-val{fill:none;stroke-width:3.4}
.pub-ring .r-att{stroke:var(--pub-teal)}
.pub-ring .r-hw{stroke:var(--pub-amber-d)}
.pub-ring text{font-size:9px;font-weight:800;fill:var(--pub-ink);font-family:var(--pub-sans)}
.pub-tests{border:1px solid var(--pub-line2);border-radius:18px;padding:16px 18px;display:flex;flex-direction:column;gap:12px}
.pub-tests-h{display:flex;align-items:center;gap:10px;font-size:18px;color:var(--pub-ink)}
.pub-tests-h .pub-disc{width:30px;height:30px;background:var(--pub-ice)}
.pub-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pub-tile{background:#F6F9FA;border:1px solid var(--pub-line2);border-radius:12px;padding:8px 12px;display:flex;flex-direction:column;line-height:1.25;min-width:0}
.pub-tile span{font-size:13px;color:var(--pub-slate)}
.pub-tile b{font-size:19px;color:var(--pub-teal);white-space:nowrap}
.pub-tests-sum{font-size:14px;color:var(--pub-ink2);line-height:1.45}
.pub-tests-sum .is-up{color:var(--pub-green)}
.pub-chart{display:block;width:100%;height:auto}
.pub-chart text{font-family:var(--pub-sans)}
.pub-legend{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px;color:var(--pub-ink2)}
.pub-legend span{display:flex;align-items:center;gap:7px}
.pub-legend svg{width:12px;height:12px;flex:none}
.pub-dash-cap{font-size:13px;color:var(--pub-mist)}

/* ---- teacher (cream) */
.pub-teacher{background:var(--pub-cream)}
.pub-teacher-in{padding-top:96px;padding-bottom:96px;display:flex;flex-wrap:wrap;gap:56px;align-items:center}
.pub-teacher-pic{flex:0 1 400px;min-width:0;position:relative}
.pub-teacher-photo{border-radius:32px;overflow:hidden;aspect-ratio:4/5;box-shadow:0 26px 60px rgba(11,60,73,.22)}
.pub-teacher-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 30%;display:block}
.pub-since{position:absolute;left:20px;bottom:20px;background:var(--pub-teal-d);color:#fff;border:1px solid rgba(255,173,31,.5);border-radius:18px;padding:12px 18px;display:flex;align-items:center;gap:12px}
.pub-since b{font-family:var(--pub-serif);font-size:34px;color:var(--pub-amber)}
.pub-since i{width:1px;height:30px;background:rgba(255,255,255,.3);flex:none}
.pub-since span{font-size:15px;line-height:1.25}
.pub-teacher-text{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:20px}
.pub-teacher-text h2{margin:0;font-family:var(--pub-serif);font-size:56px;line-height:1.05;color:var(--pub-teal);font-weight:700}
.pub-teacher-text p{margin:0;font-size:20px;color:var(--pub-ink2)}
.pub-creds{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.pub-cred{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--pub-tan);border-radius:18px;padding:16px}
.pub-cred .pub-disc{width:48px;height:48px;background:var(--pub-sand)}
.pub-cred .pub-disc.is-dark{background:var(--pub-teal)}
.pub-cred b{font-size:17px;line-height:1.3}
.pub-quote{margin:4px 0 0;padding:22px 26px;background:#fff;border:1px solid var(--pub-tan);border-left:4px solid var(--pub-amber);border-radius:20px;display:flex;gap:14px}
.pub-quote-m{font-family:var(--pub-serif);font-size:52px;line-height:.8;color:var(--pub-amber)}
.pub-quote-t{font-family:var(--pub-serif);font-size:22px;font-style:italic;color:var(--pub-teal)}
.pub-teacher-text .pub-pill{align-self:flex-start}
.pub-teacher-ph{display:none}

/* ---- reviews (hidden until testimonials.json holds an approved entry) */
.pub-reviews{color:#fff}
.pub-reviews-in{padding-top:88px;padding-bottom:72px;display:flex;flex-direction:column;gap:30px}
.pub-reviews h2{margin:0;font-family:var(--pub-serif);font-size:50px;line-height:1.1;font-weight:700}
.pub-rtabs{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.pub-rtab{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:6px 18px 6px 6px;font-weight:800;font-size:18px;font-family:inherit;cursor:pointer;color:#fff;line-height:1.2}
.pub-rtab .pub-disc{width:32px;height:32px;background:rgba(255,255,255,.12)}
.pub-rtab[aria-selected="true"]{background:var(--pub-amber);color:var(--pub-teal-d);border-color:var(--pub-amber)}
.pub-rtab[aria-selected="true"] .pub-disc{background:var(--pub-teal-d)}
.pub-rcards{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:22px}
.pub-rcard{margin:0;border-radius:26px;padding:30px;display:flex;flex-direction:column;gap:18px}
.pub-rcard-m{font-family:var(--pub-serif);font-size:64px;line-height:.6;color:var(--pub-amber)}
.pub-rcard blockquote{margin:0;font-family:var(--pub-serif);font-size:22px;font-style:italic}
.pub-rcard figcaption{display:flex;align-items:center;gap:14px;margin-top:auto;padding-top:18px;border-top:1px solid rgba(143,185,194,.3)}
.pub-rcard figcaption .pub-disc{width:54px;height:54px;border:2px solid var(--pub-amber);font-weight:900;font-size:19px}
.pub-rcard figcaption>span:last-child{display:flex;flex-direction:column;line-height:1.3}
.pub-rcard figcaption small{font-size:15px;color:var(--pub-rule)}
.pub-reviews-note{text-align:center;color:var(--pub-mist);font-size:15px}

/* ---- FAQ: one white panel, +/- rows */
.pub-faq{background:var(--pub-faq)}
.pub-faq-in{padding-top:88px;padding-bottom:88px;display:flex;flex-wrap:wrap;gap:48px}
.pub-faq-head{flex:1 1 320px;min-width:0;display:flex;flex-direction:column;gap:14px}
.pub-faq-head h2{margin:0;font-family:var(--pub-serif);font-size:54px;line-height:1.05;color:var(--pub-teal);font-weight:700}
.pub-faq-head p{margin:0;color:var(--pub-ink2);font-size:19px}
.pub-faq-box{flex:2 1 562px;min-width:0;background:#fff;border:1px solid var(--pub-line2);border-radius:24px;box-shadow:0 18px 44px rgba(11,60,73,.08);overflow:hidden}
.pub-faq-box details{padding:24px 30px;border-bottom:1px solid var(--pub-line2)}
.pub-faq-box details:last-child{border-bottom:0}
.pub-faq-box summary{list-style:none;display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;font-weight:800;font-size:21px;color:var(--pub-teal)}
.pub-faq-box summary::-webkit-details-marker{display:none}
.pub-faq-box summary::after{content:"+";font-weight:400;font-size:30px;color:var(--pub-teal-m);line-height:1;flex:none}
.pub-faq-box details[open] summary::after{content:"\2212"}
.pub-faq-box details p{margin:14px 0 0;color:var(--pub-ink2)}
.pub-faq-box details.is-first p{padding-top:14px;border-top:1px solid #EEF3F4}

/* ---- amber band */
.pub-band{background:linear-gradient(120deg,#FFAD1F,#FFC24A)}
.pub-band-in{padding-top:60px;padding-bottom:60px;display:flex;flex-wrap:wrap;gap:28px;align-items:center;justify-content:space-between}
.pub-band-in>div{flex:1 1 480px;min-width:0}
.pub-band h2{margin:0;font-family:var(--pub-serif);font-size:54px;line-height:1.05;color:var(--pub-teal-d);font-weight:700}
.pub-band p{margin:8px 0 0;color:var(--pub-band-ink);font-size:20px;font-weight:600}

/* ---- footer (every public page): teal grid, 5px amber top border, logo, WhatsApp, email, the College Board line */
.pub-ft{color:var(--pub-foot);font-size:17px;border-top:5px solid var(--pub-amber)}
.pub-ft-in{padding-top:56px;padding-bottom:28px;display:flex;flex-wrap:wrap;gap:36px;align-items:flex-start}
.pub-ft-brand{flex:1.3 1 340px;min-width:0;display:flex;flex-direction:column;gap:16px}
.pub-ft-logo{display:flex;align-items:center;gap:14px}
.pub-ft-logo img{width:72px;height:auto;display:block}
.pub-ft-logo .pub-brand-t{gap:5px}
.pub-ft-logo .pub-brand-t b{font-size:28px}
.pub-ft-slogan{color:var(--pub-amber);font-size:20px}
.pub-ft-pages{flex:.7 1 180px;min-width:0;display:flex;flex-direction:column;gap:10px}
.pub-ft-pages b,.pub-ft-contact b{color:#fff;font-size:20px}
.pub .pub-ft-pages a{color:var(--pub-foot);text-decoration:none}
.pub .pub-ft-pages a:hover{color:#fff}
.pub-ft-contact{flex:1.2 1 398px;min-width:0;border-radius:22px;padding:24px 28px;display:flex;flex-direction:column;gap:14px}
.pub-ft-row{display:flex;align-items:center;gap:14px;color:#fff;min-width:0}
.pub .pub-ft-row a,.pub-ft-row span{color:#fff;text-decoration:none;overflow-wrap:anywhere}
.pub .pub-ft-row a:hover{text-decoration:underline}
.pub-ft-low{padding-top:18px;padding-bottom:30px;border-top:1px solid rgba(143,185,194,.25);font-size:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}

/* ---- the phone bar (cover): Үнэгүй тест · WhatsApp */
.pub-sticky{display:none}

/* ======================================================================== the phone: 09-cover-phone */
@media (max-width:640px){
  body.pub{font-size:16px;line-height:1.5;background:var(--pub-cream)}
  .pub-wrap{padding-left:16px;padding-right:16px}
  .pub-dsk{display:none!important}
  .pub-ph{display:revert}
  /* header */
  .pub-hd{border-bottom-width:4px}
  .pub-nav{padding-top:10px;padding-bottom:10px}
  .pub-brand{gap:8px}
  .pub-brand img{width:42px}
  .pub-brand-t{gap:3px}
  .pub-brand-t b{font-size:16px;letter-spacing:.04em}
  .pub-brand-t span{font-size:10px;letter-spacing:.12em}
  /* hero and the four numbers share one teal grid (40px on a phone) */
  .pub-top{background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(165deg,#0B3C49,#0C4251 60%,#0B3C49);padding-bottom:30px}
  .pub-top .pub-hero{background:none}
  .pub-hero-in{padding-top:24px;padding-bottom:0;gap:14px;flex-direction:column;align-items:stretch}
  .pub-hero-text{flex:none;gap:14px}
  .pub-badge{gap:8px;padding:5px 12px 5px 5px;font-size:13px}
  .pub-badge-disc{width:20px;height:20px}
  .pub-badge-disc svg{width:11px;height:11px}
  .pub-h1{font-size:34px;line-height:1.08;letter-spacing:0}
  .pub-lede{font-size:16px}
  .pub-hero-art{flex:none;display:block}
  .pub-art{width:100%;height:300px}
  .pub-photo{width:238px;height:300px;border-radius:22px;border-width:4px;box-shadow:none}
  .pub-phone{top:70px;width:124px;height:206px;border-radius:20px;padding:5px;box-shadow:none}
  .pub-phone-scr{border-radius:15px}
  .pub-hcard{border-radius:20px;padding:6px 16px;display:flex;flex-direction:column}
  .pub-hrow{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid rgba(143,185,194,.3)}
  .pub-hrow:last-child{border-bottom:0;gap:12px}
  .pub-hrow i{width:4px;height:42px;border-radius:4px;background:var(--pub-amber);flex:none}
  .pub-hrow-t{display:flex;flex-direction:column;line-height:1.2}
  .pub-hrow-t b{font-size:21px;font-weight:900}
  .pub-hrow-t span{font-size:16px;color:var(--pub-on-dark)}
  .pub-hrow-time{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
  .pub-hrow-time b{font-size:22px;font-weight:900}
  .pub-hrow-time span{font-size:15px;color:var(--pub-on-dark)}
  .pub-stats-wrap{margin-top:14px}
  .pub-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;text-align:center}
  .pub-stat{display:block;border-radius:16px;padding:12px 4px;background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.04));border:1px solid rgba(143,185,194,.35);box-shadow:none}
  .pub-stat .pub-disc{display:none}
  .pub-stat-t{display:block}
  .pub-stat-t b{display:block;font-size:22px;color:var(--pub-amber)}
  .pub-stat-t span{display:block;font-size:12px;color:var(--pub-on-dark);font-weight:400;line-height:1.2}
  /* steps: one column with a line on the left */
  .pub-steps-sec{padding-top:34px;padding-bottom:10px;gap:14px}
  .pub-steps-sec .pub-sec-head{align-items:flex-start;text-align:left}
  .pub-steps-sec .pub-sec-head .pub-eyebrow{display:none}
  .pub-steps-sec .pub-h2{font-family:var(--pub-sans);font-size:27px;line-height:1.1;font-weight:900;color:var(--pub-teal);white-space:nowrap}
  .pub-steps{display:flex;flex-direction:column;gap:0;border-left:2px solid var(--pub-line);margin-left:22px}
  .pub-step{flex-direction:row;align-items:center;text-align:left;gap:14px;margin-left:-23px;padding-bottom:16px}
  .pub-step:last-child{padding-bottom:0}
  .pub-step-line{display:none}
  .pub-step-n{width:44px;height:44px;font-size:18px}
  .pub-step-n.is-first{box-shadow:none}
  .pub-step-n svg{width:20px;height:20px}
  .pub-step-t{gap:0;line-height:1.25}
  .pub-step b{font-size:18px;line-height:1.25}
  .pub-step-t span{font-size:14px}
  /* prices: three plain cards, the pair highlighted */
  .pub-prices-sec{padding-top:30px;padding-bottom:30px;gap:16px}
  .pub-prices-head .pub-eyebrow,.pub-tag80{display:none}
  .pub-prices-sec .pub-h2{font-family:var(--pub-sans);font-size:32px;line-height:1.1;font-weight:900;color:var(--pub-teal)}
  .pub-prices{grid-template-columns:1fr;gap:16px}
  .pub-price{border:1px solid #DDE7EA;border-radius:18px;padding:20px;gap:4px;box-shadow:0 8px 20px rgba(11,60,73,.06)}
  .pub-price.is-rw{border-top-color:#DDE7EA}
  .pub-price.is-both{background:#EEF7F8;border:2px solid #0B5560;padding:22px 20px 20px;margin-top:8px;box-shadow:none}
  .pub-price h3{font-family:var(--pub-sans);font-size:24px;font-weight:900}
  .pub-price.is-both h3{margin-top:22px}
  .pub-days,.pub-price.is-rw .pub-days,.pub-price.is-both .pub-days{background:none;padding:0;border-radius:0;font-weight:400;font-size:16px;color:var(--pub-ink2)}
  .pub-when{font-size:16px;gap:0}
  .pub-when svg{display:none}
  .pub-when b{font-weight:400;color:var(--pub-ink2)}
  .pub-price hr,.pub-two{display:none}
  .pub-fee{font-size:38px;font-size:min(38px,14.5cqi);margin-top:6px;line-height:1.1}
  html[lang="en"] .pub-fee{font-size:min(38px,13.5cqi)}
  .pub-fee span{font-size:.447em;font-weight:500;color:var(--pub-ink2)}
  .pub-price-line{display:block;font-size:15px;color:var(--pub-ink2)}
  .pub-price .pub-pill{margin-top:12px;font-size:16px;font-size:min(16px,calc((100cqi - 72px) / 11.8));padding:6px 20px 6px 6px}
  .pub-price .pub-pill .pub-disc{width:32px;height:32px}
  .pub-save{top:10px;right:10px;font-size:13px;padding:5px 12px;box-shadow:none}
  .pub-save svg{display:none}
  .pub-hours-note{font-size:13px}
  /* parents: the rings only, "Жишээ дэлгэц" under them */
  .pub-parents{background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/40px 40px,linear-gradient(165deg,#0B3C49,#0C4251 60%,#0B3C49)}
  .pub-parents-in{padding-top:30px;padding-bottom:30px;gap:14px;flex-direction:column;align-items:stretch}
  .pub-parents-text{flex:none;gap:14px}
  .pub-parents h2{font-size:30px;line-height:1.2}
  .pub-dash{flex:none;border-radius:24px;padding:8px;box-shadow:none}
  .pub-dash-in{border-radius:18px;padding:16px 8px;gap:0}
  .pub-rings{gap:6px}
  .pub-ring{background:none;padding:0;gap:0;border-radius:0}
  .pub-ring svg{width:84px;height:84px}
  .pub-ring b{font-size:15px;display:block}
  .pub-ring small{display:none}
  .pub-ring .r-att{stroke:var(--pub-green)}
  .pub-ring .t-att{font-size:7.6px}
  /* teacher: the round photo, the name, two lines */
  .pub-teacher-in{display:none}
  .pub-teacher-ph{display:flex;flex-direction:column;gap:12px;padding:30px 16px 30px}
  .pub-tph-top{display:flex;align-items:center;gap:16px}
  .pub-tph-top img{width:104px;height:104px;border-radius:50%;object-fit:cover;object-position:50% 25%;border:4px solid var(--pub-amber);flex:none}
  .pub-tph-top>span{display:flex;flex-direction:column;gap:4px;line-height:1.15;min-width:0}
  .pub-tph-top b{font-family:var(--pub-serif);font-size:22px;color:var(--pub-teal)}
  .pub-tph-top span span{font-size:16px;color:var(--pub-ink2)}
  .pub-teacher-ph p{margin:0;color:var(--pub-ink2);font-size:17px}
  /* reviews, FAQ, band, footer: the computer layout in one column */
  .pub-reviews-in{padding-top:40px;padding-bottom:40px;gap:20px}
  .pub-reviews h2{font-size:30px}
  .pub-rcards{grid-template-columns:1fr}
  .pub-rcard{padding:22px}
  .pub-rcard blockquote{font-size:19px}
  .pub-faq-in{padding-top:40px;padding-bottom:40px;gap:20px}
  .pub-faq-head h2{font-size:32px}
  .pub-faq-head p{font-size:16px}
  .pub-faq-box{border-radius:18px}
  .pub-faq-box details{padding:18px}
  .pub-faq-box summary{font-size:17px}
  .pub-faq-box summary::after{font-size:26px}
  .pub-faq-box details p{font-size:16px}
  .pub-band-in{padding-top:36px;padding-bottom:36px;gap:18px}
  .pub-band-in>div{flex:1 1 100%}
  .pub-band h2{font-size:32px}
  .pub-band p{font-size:16px}
  .pub-band .pub-pill{font-size:18px}
  .pub-ft{font-size:16px}
  .pub-ft-in{padding-top:36px;gap:24px}
  .pub-ft-brand,.pub-ft-pages,.pub-ft-contact{flex:1 1 100%}
  .pub-ft-logo img{width:56px}
  .pub-ft-logo .pub-brand-t b{font-size:20px}
  .pub-ft-logo .pub-brand-t span{font-size:12px}
  .pub-ft-slogan{font-size:18px}
  .pub-ft-contact{padding:20px}
  .pub-ft-low{padding-bottom:24px}
  /* the phone bar */
  body.pub.has-sticky .pub-ft-low{padding-bottom:104px}
  .pub-sticky{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--pub-rule);padding:12px 16px;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px));gap:10px;box-shadow:0 -8px 24px rgba(11,60,73,.12)}
  .pub-sticky a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;font-weight:800;border-radius:999px;padding:12px;text-decoration:none;line-height:1.2;font-size:16px}
  .pub .pub-sticky a.is-test{background:var(--pub-amber);color:var(--pub-teal-d)}
  .pub .pub-sticky a.is-wa{background:var(--pub-teal);color:#fff}
}
@media (max-width:1100px){ .pub-step-line{display:none} }     /* the steps wrap into rows: no joining line running off the row */
@media (max-width:360px){
  .pub-nav{gap:6px}
  .pub-hd-r{gap:6px}
  .pub-brand{gap:6px}
  .pub-brand img{width:36px}
  .pub-brand-t span{font-size:9px;letter-spacing:.08em}
  .pub-h1{font-size:31px}
  .pub-steps-sec .pub-h2{font-size:24px}
  .pub-prices-sec .pub-h2{font-size:28px}
  .pub-art{height:270px}
  .pub-photo{width:208px;height:270px}
  .pub-phone{width:112px;height:190px;top:62px}
  .pub-stat-t b{font-size:19px}
  .pub-fee{font-size:33px;font-size:min(33px,14.5cqi)}
  html[lang="en"] .pub-fee{font-size:min(33px,13.5cqi)}
  .pub-brand-t b{font-size:13px;letter-spacing:.02em}
}
@media (prefers-reduced-motion:reduce){ .pub *{scroll-behavior:auto!important;transition:none!important} }
