/* ==========================================================================
   Kairos — learning platform
   Design system: "Midnight & Signal"
   ========================================================================== */

/* ============================================================
   Self-hosted font subsets — latin + cyrillic only.
   Latin-1 (U+0000-00FF) covers German/French/Spanish diacritics;
   cyrillic covers Russian. No runtime network dependency.
   ============================================================ */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/inter-normal-400-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../assets/fonts/inter-normal-400-latin.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';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/inter-normal-500-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../assets/fonts/inter-normal-500-latin.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';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/inter-normal-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/inter-normal-600-latin.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';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/inter-normal-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/inter-normal-700-latin.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:'Playfair Display';font-style:italic;font-weight:600;font-display:swap;src:url('../assets/fonts/playfair-italic-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Playfair Display';font-style:italic;font-weight:600;font-display:swap;src:url('../assets/fonts/playfair-italic-600-latin.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:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/playfair-normal-600-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url('../assets/fonts/playfair-normal-600-latin.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:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/playfair-normal-700-cyrillic.woff2') format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:700;font-display:swap;src:url('../assets/fonts/playfair-normal-700-latin.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;}

/* ---------- 1. Tokens ---------- */
:root{
  --midnight:#0A0F2C;
  --midnight-2:#060918;
  --indigo:#141B4A;
  --indigo-2:#1D2568;
  --electric:#FFD84D;
  --electric-d:#EFC22C;
  --coral:#FF5F45;
  --sky:#7FB2FF;
  --mint:#5BE0B0;

  --ivory:#FBF9F4;
  --ivory-2:#F3EFE4;
  --white:#FFFFFF;

  --ink:#0D1229;
  --ink-2:#4B5170;
  --ink-3:#8B90A8;
  --line:#E4DFD0;
  --line-2:#D5CEBB;

  --serif:'Playfair Display',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;

  --hdr-h:62px;
  --maxw:1280px;
  --pad:20px;
  --r:14px;
  --r-lg:22px;
  --r-xl:30px;
  --ease:cubic-bezier(.22,1,.36,1);
}

/* subject palettes */
[data-subject="business"]{--c1:#1E2768;--c2:#4A2E8C}
[data-subject="tech"]{--c1:#0C2B57;--c2:#126E8C}
[data-subject="healthcare"]{--c1:#B8342A;--c2:#E8663C}
[data-subject="teaching"]{--c1:#8A5A00;--c2:#E0A22B}
[data-subject="psychology"]{--c1:#4B1E6E;--c2:#A03E8C}
[data-subject="languages"]{--c1:#0F4C6E;--c2:#2C9BC4}
[data-subject="science"]{--c1:#0B3D3A;--c2:#1E8A6E}
[data-subject="creative"]{--c1:#7A1B4E;--c2:#D4386A}
[data-subject="environment"]{--c1:#2A4A16;--c2:#6F9C2E}

/* ---------- 2. Reset & base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sans);
  font-size:15px;
  line-height:1.6;
  color:var(--ink);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select{font-family:inherit;font-size:inherit;color:inherit}
h1,h2,h3,h4,p,ul,ol{margin:0}
ul{list-style:none;padding:0}
s{opacity:.6}
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 var(--pad)}
.center{text-align:center}

/* ---------- 3. Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:42px;padding:0 20px;border-radius:10px;
  font-size:13.5px;font-weight:600;letter-spacing:.01em;
  white-space:nowrap;
  transition:background .25s,color .25s,border-color .25s,transform .2s var(--ease),box-shadow .25s;
}
.btn:active{transform:scale(.97)}
.btn-solid{background:var(--electric);color:var(--midnight);border:1px solid var(--electric)}
.btn-solid:hover{background:var(--electric-d);border-color:var(--electric-d);box-shadow:0 8px 24px -8px rgba(255,216,77,.55)}
.btn-outline{background:transparent;color:var(--ink);border:1px solid var(--line-2)}
.btn-outline:hover{background:var(--ink);color:var(--ivory);border-color:var(--ink)}
.btn-ghost{background:transparent;color:var(--ink-2);border:1px solid transparent;padding:0 12px}
.btn-ghost:hover{color:var(--ink)}
.btn-wide{width:100%}

/* ---------- 4. Ticker ---------- */
.ticker{
  background:var(--midnight-2);
  color:var(--ivory);
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.07);
  /* soften both edges so the marquee never looks sliced mid-word */
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 42px,#000 calc(100% - 42px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 42px,#000 calc(100% - 42px),transparent 100%);
}
.ticker-track{
  display:flex;align-items:center;gap:22px;
  padding:8px 0;white-space:nowrap;
  animation:tick 42s linear infinite;
  will-change:transform;
}
.ticker:hover .ticker-track{animation-play-state:paused}
.ticker-item{font-size:11.5px;letter-spacing:.02em;color:rgba(251,249,244,.78)}
.ticker-item b{color:var(--electric);font-weight:700}
.ticker-dot{
  width:3px;height:3px;border-radius:50%;
  background:var(--electric);opacity:.6;flex:none;
}
@keyframes tick{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* ---------- 5. Header ---------- */
.hdr{
  position:sticky;top:0;z-index:60;
  background:rgba(251,249,244,.86);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid transparent;
  transition:border-color .3s,box-shadow .3s,background .3s;
}
.hdr.is-stuck{
  border-bottom-color:var(--line);
  box-shadow:0 10px 30px -24px rgba(13,18,41,.5);
}
.hdr-in{
  height:var(--hdr-h);max-width:var(--maxw);margin:0 auto;
  padding:0 var(--pad);
  display:flex;align-items:center;gap:16px;
}
.logo{display:flex;align-items:center;gap:9px;flex:none}
.logo-mark{color:var(--midnight);flex:none}
.logo-t{
  font-family:var(--serif);font-size:20px;font-weight:700;
  letter-spacing:-.015em;color:var(--midnight);
}
.nav{display:none;gap:26px;margin-left:18px}
.nav a{
  font-size:13.5px;font-weight:500;color:var(--ink-2);
  position:relative;padding:4px 0;
  transition:color .22s;
}
.nav a::after{
  content:'';position:absolute;left:0;right:0;bottom:-2px;height:2px;
  background:var(--electric);border-radius:2px;
  transform:scaleX(0);transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav a:hover{color:var(--ink)}
.nav a:hover::after{transform:scaleX(1)}
.hdr-r{display:flex;align-items:center;gap:8px;margin-left:auto}
.lang{
  display:flex;align-items:center;gap:5px;
  color:var(--ink-2);padding:0 6px;
}
.lang select{
  border:0;background:transparent;font-size:12.5px;font-weight:500;
  color:var(--ink-2);padding:6px 2px;cursor:pointer;
  appearance:none;-webkit-appearance:none;
  max-width:78px;
}
.lang select:focus{outline:none;color:var(--ink)}
.hdr .btn-ghost{display:none}
.hdr .btn-solid{display:none;height:38px;font-size:13px;padding:0 16px}
.burger{
  width:40px;height:40px;flex:none;margin-left:2px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;
}
.burger span{
  display:block;width:19px;height:1.8px;border-radius:2px;
  background:var(--midnight);
  transition:transform .35s var(--ease),opacity .25s;
}
.burger[aria-expanded="true"] span:first-child{transform:translateY(3.4px) rotate(45deg)}
.burger[aria-expanded="true"] span:last-child{transform:translateY(-3.4px) rotate(-45deg)}

/* ---------- 6. Mobile nav ---------- */
.mnav{
  position:fixed;inset:0;z-index:55;
  background:var(--midnight);color:var(--ivory);
  padding:calc(var(--hdr-h) + 34px) var(--pad) 30px;
  transform:translateY(-100%);
  transition:transform .48s var(--ease),visibility .48s;
  visibility:hidden;overflow-y:auto;
  display:flex;flex-direction:column;
}
.mnav.is-open{transform:translateY(0);visibility:visible}
.mnav-in{
  display:flex;flex-direction:column;gap:0;
  max-width:var(--maxw);margin:0 auto;width:100%;flex:1;
}
.mnav-in > a{
  font-family:var(--serif);font-size:27px;font-weight:600;
  letter-spacing:-.02em;line-height:1.2;
  padding:15px 0;border-bottom:1px solid rgba(251,249,244,.1);
  transition:color .22s,padding-left .3s var(--ease);
}
.mnav-in > a:hover{color:var(--electric);padding-left:6px}
.mnav-extra{display:flex;flex-direction:column;gap:12px;margin-top:28px}
.mnav-in .mnav-extra a{
  font-family:var(--sans);font-size:13.5px;font-weight:500;
  color:rgba(251,249,244,.6);padding:0;border:0;
}
.mnav-in .mnav-extra a:hover{color:var(--electric);padding-left:0}
.mnav-cta{
  margin-top:auto;display:flex;align-items:center;justify-content:center;
  height:52px;border-radius:12px;
  background:var(--electric);color:var(--midnight);
  font-size:14.5px;font-weight:700;border:0!important;
  padding:0!important;
}
.mnav-cta:hover{background:var(--electric-d);color:var(--midnight);padding-left:0!important}

/* ---------- 7. Hero ---------- */
.hero{
  position:relative;overflow:hidden;
  background:var(--midnight);color:var(--ivory);
  padding:40px 0 44px;
  isolation:isolate;
}
.hero-bg{position:absolute;inset:0;z-index:-1;overflow:hidden}
.hero-ring{
  position:absolute;border-radius:50%;
  border:1px solid rgba(255,216,77,.13);
}
.r1{width:620px;height:620px;right:-190px;top:-210px}
.r2{width:900px;height:900px;right:-330px;top:-350px;border-color:rgba(255,216,77,.08)}
.r3{width:1240px;height:1240px;right:-500px;top:-520px;border-color:rgba(255,255,255,.045)}
.hero-glow{
  position:absolute;width:640px;height:640px;right:-180px;top:-160px;
  background:radial-gradient(circle,rgba(255,216,77,.16),rgba(255,216,77,0) 62%);
  filter:blur(6px);
}
.hero-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 72%);
  -webkit-mask-image:radial-gradient(ellipse at 70% 30%,#000 10%,transparent 72%);
}
.hero-in{position:relative;display:grid;grid-template-columns:1fr;gap:36px}

.hero-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;
  color:rgba(251,249,244,.62);
  border:1px solid rgba(251,249,244,.16);
  border-radius:100px;padding:7px 14px 7px 11px;
  margin-bottom:20px;
}
.hero-eyebrow .dot{
  width:6px;height:6px;border-radius:50%;background:var(--mint);
  box-shadow:0 0 0 3px rgba(91,224,176,.2);
  animation:pulse 2.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 3px rgba(91,224,176,.2)}
  50%{box-shadow:0 0 0 6px rgba(91,224,176,.05)}
}
.hero-h{
  font-family:var(--serif);
  font-size:clamp(36px,10.4vw,72px);
  font-weight:600;line-height:1.03;
  letter-spacing:-.032em;
  margin-bottom:18px;
  color:var(--ivory);
}
.hero-h em{
  font-style:italic;font-weight:600;
  color:var(--electric);
  position:relative;
  white-space:nowrap;
}
.hero-h em::after{
  content:'';position:absolute;left:0;right:0;bottom:.06em;height:.09em;
  background:var(--electric);opacity:.24;border-radius:2px;
}

/* real inter-word space: kept for latin/cyrillic, dropped for ja/ko where a
   space before a particle would be wrong */
.hg{white-space:pre}
html[lang="ja"] .hg,
html[lang="ko"] .hg{display:none}

.hero-sub{
  font-size:15px;line-height:1.62;
  color:rgba(251,249,244,.68);
  max-width:520px;margin-bottom:26px;
}

.search{
  display:flex;align-items:center;gap:0;
  background:var(--ivory);
  border-radius:13px;
  padding:5px 5px 5px 15px;
  max-width:520px;
  box-shadow:0 22px 44px -24px rgba(0,0,0,.6);
  transition:box-shadow .3s,transform .3s var(--ease);
}
.search:focus-within{
  box-shadow:0 26px 52px -22px rgba(255,216,77,.42);
  transform:translateY(-1px);
}
.search-ic{color:var(--ink-3);flex:none;margin-right:9px}
.search input{
  flex:1;min-width:0;border:0;background:transparent;
  font-size:14px;color:var(--ink);padding:10px 0;
}
.search input::placeholder{color:var(--ink-3)}
.search input:focus{outline:none}
.search-btn{
  flex:none;height:42px;padding:0 18px;border-radius:9px;
  background:var(--midnight);color:var(--ivory);
  font-size:13px;font-weight:600;
  transition:background .25s,transform .2s var(--ease);
}
.search-btn:hover{background:var(--indigo-2)}
.search-btn:active{transform:scale(.97)}

.hero-tags{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  margin-top:16px;font-size:12px;color:rgba(251,249,244,.45);
}
.tag{
  font-size:12px;color:rgba(251,249,244,.78);
  border:1px solid rgba(251,249,244,.18);
  border-radius:100px;padding:4px 11px;
  transition:border-color .25s,color .25s,background .25s;
}
.tag:hover{border-color:var(--electric);color:var(--electric);background:rgba(255,216,77,.06)}

.hero-stats{
  display:grid;grid-template-columns:repeat(2,1fr);gap:16px 14px;
  margin-top:30px;padding-top:24px;
  border-top:1px solid rgba(251,249,244,.12);
}
.hs{display:flex;flex-direction:column;gap:2px;min-width:0}
.hs b{
  font-family:var(--serif);font-size:24px;font-weight:700;
  letter-spacing:-.02em;color:var(--ivory);line-height:1.1;
}
.hs span{font-size:11px;color:rgba(251,249,244,.5);letter-spacing:.03em}

/* hero art */
.hero-art{
  position:relative;
  height:330px;
  margin:0 -4px;
}
.hcard{
  position:absolute;
  width:196px;
  background:var(--ivory);
  color:var(--ink);
  border-radius:15px;
  padding:13px 15px 14px;
  display:flex;flex-direction:column;gap:3px;
  box-shadow:0 26px 50px -20px rgba(0,0,0,.62);
  animation:float 7s ease-in-out infinite;
  will-change:transform;
}
.hc-tag{
  font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--coral);
}
.hc-t{font-family:var(--serif);font-size:14.5px;font-weight:600;line-height:1.25;letter-spacing:-.01em}
.hc-o{font-size:10.5px;color:var(--ink-3);line-height:1.3}
.hc-m{font-size:10.5px;color:var(--ink-2);margin-top:3px}
.hc-m b{color:var(--ink);font-weight:700}
.hc1{top:2%;left:0;transform:rotate(-3.4deg);animation-delay:0s;z-index:3}
.hc2{top:36%;right:-2px;transform:rotate(2.6deg);animation-delay:-2.3s;z-index:2}
.hc3{bottom:0;left:14%;transform:rotate(-1.4deg);animation-delay:-4.6s;z-index:1}
@keyframes float{
  0%,100%{translate:0 0}
  50%{translate:0 -9px}
}
.hero-badge{
  position:absolute;right:6px;bottom:6px;z-index:4;
  width:96px;height:96px;border-radius:50%;
  background:var(--electric);color:var(--midnight);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  box-shadow:0 18px 34px -14px rgba(255,216,77,.7);
  animation:float 6s ease-in-out infinite;
  animation-delay:-1.2s;
}
.hb-num{font-family:var(--serif);font-size:24px;font-weight:800;line-height:1;letter-spacing:-.03em}
.hb-lbl{font-size:8.5px;font-weight:600;line-height:1.15;text-align:center;letter-spacing:.02em}

/* ---------- 8. Section scaffolding ---------- */
.sec{padding:56px 0}
.sec-head{max-width:660px;margin-bottom:28px}
.sec-head-l{max-width:640px}
.sec-eyebrow{
  font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--coral);margin-bottom:11px;
}
.sec-h{
  font-family:var(--serif);
  font-size:clamp(26px,6.4vw,44px);
  font-weight:600;line-height:1.1;
  letter-spacing:-.026em;color:var(--ink);
  margin-bottom:12px;
}
.sec-sub{font-size:14px;line-height:1.65;color:var(--ink-2);max-width:560px}

/* ---------- 9. Subjects ---------- */
.subjects{background:var(--ivory)}
.subj-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.subj{
  position:relative;min-width:0;overflow:hidden;
  display:flex;flex-direction:column;gap:7px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:18px 15px 15px;
  min-height:132px;
  transition:transform .4s var(--ease),border-color .3s,box-shadow .4s,background .3s;
}
/* subject-coloured rail: a short accent that runs full width on hover */
.subj::before{
  content:'';position:absolute;left:0;right:0;top:0;height:3px;
  background:linear-gradient(90deg,var(--c1,var(--midnight)),var(--c2,var(--indigo-2)));
  transform:scaleX(.3);transform-origin:left;
  transition:transform .45s var(--ease);
}
.subj:hover{
  transform:translateY(-3px);
  border-color:var(--line-2);
  box-shadow:0 18px 36px -24px rgba(13,18,41,.42);
  background:var(--white);
}
.subj:hover::before{transform:scaleX(1)}
.subj-ic{
  width:40px;height:40px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  background:var(--ivory-2);color:var(--c1,var(--midnight));
  transition:background .35s,color .3s,transform .4s var(--ease);
  flex:none;
}
.subj:hover .subj-ic{background:linear-gradient(135deg,var(--c1,var(--midnight)),var(--c2,var(--indigo-2)));color:#fff;transform:rotate(-6deg)}
.subj-t{
  font-family:var(--serif);font-size:14.5px;font-weight:600;
  line-height:1.25;letter-spacing:-.012em;color:var(--ink);
  min-width:0;margin-top:auto;
}
.subj-c{font-size:11px;color:var(--ink-3);font-weight:500;letter-spacing:.02em}
.subj-go{
  position:absolute;right:13px;bottom:12px;
  font-size:14px;color:var(--ink-3);
  opacity:.34;transform:translateX(-5px);
  transition:opacity .3s,transform .35s var(--ease);
}
.subj:hover .subj-go{opacity:1;transform:translateX(0);color:var(--coral)}

/* ---------- 10. Courses ---------- */
.courses{background:var(--ivory-2)}
.course-bar{
  display:flex;flex-direction:column;gap:12px;
  margin-bottom:16px;
}
.chips{
  display:flex;gap:7px;overflow-x:auto;
  padding-bottom:4px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:none;
  font-size:12px;font-weight:500;
  color:var(--ink-2);
  background:var(--white);
  border:1px solid var(--line);
  border-radius:100px;
  padding:7px 14px;
  white-space:nowrap;
  transition:background .25s,color .25s,border-color .25s,transform .2s var(--ease);
}
.chip:hover{border-color:var(--ink-3);color:var(--ink)}
.chip:active{transform:scale(.96)}
.chip.is-on{
  background:var(--midnight);color:var(--ivory);border-color:var(--midnight);
}
.sortwrap{position:relative;flex:none;align-self:flex-start}
.sortwrap::after{
  content:'';position:absolute;right:13px;top:50%;
  width:6px;height:6px;margin-top:-4px;
  border-right:1.6px solid var(--ink-2);border-bottom:1.6px solid var(--ink-2);
  transform:rotate(45deg);pointer-events:none;
}
.sortwrap select{
  appearance:none;-webkit-appearance:none;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:100px;
  font-size:12px;font-weight:500;color:var(--ink-2);
  padding:8px 32px 8px 14px;
  cursor:pointer;
  transition:border-color .25s;
}
.sortwrap select:hover{border-color:var(--ink-3)}
.sortwrap select:focus{outline:none;border-color:var(--midnight)}

.course-meta{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-bottom:18px;
}
.cm-count{font-size:12px;font-weight:600;color:var(--ink-2);letter-spacing:.02em}
.cm-reset{
  font-size:12px;color:var(--ink-3);text-decoration:underline;
  text-underline-offset:3px;text-decoration-color:var(--line-2);
  transition:color .22s;
}
.cm-reset:hover{color:var(--coral)}

.cgrid{display:grid;grid-template-columns:1fr;gap:14px}
.cc{
  display:flex;flex-direction:column;min-width:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  overflow:hidden;
  transition:transform .4s var(--ease),box-shadow .4s,border-color .3s;
}
.cc:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 48px -26px rgba(13,18,41,.4);
  border-color:var(--line-2);
}
.cc.is-hidden{display:none}

.cc-media{
  position:relative;height:136px;overflow:hidden;
  background:linear-gradient(132deg,var(--c1),var(--c2));
}
.cc-art{
  position:absolute;inset:0;
  background:
    radial-gradient(circle at 76% 14%,rgba(255,255,255,.24),transparent 46%),
    repeating-linear-gradient(116deg,rgba(255,255,255,.075) 0 1px,transparent 1px 17px);
}
.cc-art::after{
  content:'';position:absolute;
  right:-46px;bottom:-72px;width:170px;height:170px;border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
}
.cc-monogram{
  position:absolute;right:2px;bottom:-30px;
  font-family:var(--serif);font-size:124px;font-weight:800;line-height:1;
  color:rgba(255,255,255,.2);
  letter-spacing:-.05em;
  transition:transform .55s var(--ease);
  user-select:none;
}
.cc:hover .cc-monogram{transform:translateY(-5px) scale(1.04)}
.cc-type{
  position:absolute;left:12px;top:12px;z-index:2;
  font-size:9.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:#fff;
  background:rgba(6,9,24,.5);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.16);
  border-radius:6px;padding:5px 9px;
}

.cc-body{
  display:flex;flex-direction:column;gap:6px;
  padding:15px 16px 16px;
  flex:1;
}
.cc-org{
  font-size:10.5px;font-weight:700;letter-spacing:.075em;text-transform:uppercase;
  color:var(--ink-3);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.cc-t{
  font-family:var(--serif);font-size:16.5px;font-weight:600;
  line-height:1.26;letter-spacing:-.014em;color:var(--ink);
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
  overflow:hidden;
}
.cc-d{
  font-size:12.5px;line-height:1.5;color:var(--ink-2);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;
}
.cc-meta{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;
  font-size:11px;color:var(--ink-3);font-weight:500;
  margin-top:2px;
}
.cc-rate{display:inline-flex;align-items:center;gap:4px;color:var(--ink);font-weight:600}
.cc-stars{color:var(--electric-d);letter-spacing:-.06em;font-size:10px}
.cc-sep{color:var(--line-2)}
.cc-foot{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:auto;padding-top:13px;
}
.cc-price{
  font-size:11.5px;font-weight:600;color:var(--ink-2);
  letter-spacing:.01em;line-height:1.25;min-width:0;
}
.cc-btn{
  flex:none;
  font-size:11.5px;font-weight:600;letter-spacing:.01em;
  color:var(--midnight);
  background:var(--ivory-2);
  border:1px solid var(--line-2);
  border-radius:9px;
  padding:8px 13px;
  white-space:nowrap;
  transition:background .25s,color .25s,border-color .25s,transform .2s var(--ease);
}
.cc-btn:hover{background:var(--midnight);color:var(--ivory);border-color:var(--midnight)}
.cc-btn:active{transform:scale(.97)}
.cc-btn.done{background:var(--electric);color:var(--midnight);border-color:var(--electric)}

.cempty{
  text-align:center;padding:44px 20px;
  border:1px dashed var(--line-2);border-radius:var(--r-lg);
  background:rgba(255,255,255,.6);
}
.ce-t{font-family:var(--serif);font-size:20px;font-weight:600;margin-bottom:6px}
.ce-s{font-size:13px;color:var(--ink-2);margin-bottom:18px}

/* ---------- 11. How ---------- */
.how{background:var(--ivory)}
.how-grid{display:grid;grid-template-columns:1fr;gap:12px}
.how-card{
  position:relative;min-width:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:20px 18px 20px;
  transition:transform .4s var(--ease),box-shadow .4s,border-color .3s;
}
.how-card:hover{transform:translateY(-3px);box-shadow:0 20px 40px -28px rgba(13,18,41,.4);border-color:var(--line-2)}
.how-n{
  display:block;
  font-family:var(--serif);font-size:12px;font-weight:700;
  color:var(--coral);letter-spacing:.06em;
  margin-bottom:12px;
}
.how-t{
  font-family:var(--serif);font-size:17px;font-weight:600;
  letter-spacing:-.016em;line-height:1.25;margin-bottom:7px;
}
.how-d{font-size:12.5px;line-height:1.55;color:var(--ink-2)}

/* ---------- 12. Partners ---------- */
.partners{background:var(--midnight);color:var(--ivory);padding:52px 0}
.partners .sec-eyebrow{color:var(--electric)}
.partners .sec-h{color:var(--ivory);margin-bottom:26px}
.pt-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:0;
  border-top:1px solid rgba(251,249,244,.1);
}
.pt{
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  padding:18px 8px;
  font-family:var(--serif);font-size:12.5px;font-weight:500;
  letter-spacing:-.005em;line-height:1.3;
  color:rgba(251,249,244,.6);
  border-bottom:1px solid rgba(251,249,244,.1);
  transition:color .3s,background .3s;
}
.pt:hover{color:var(--electric);background:rgba(255,216,77,.04)}

/* ---------- 13. Pricing ---------- */
.pricing{background:var(--ivory-2)}
.price-grid{display:grid;grid-template-columns:1fr;gap:14px}
.pcard-free,.pcard-m,.pcard-hi{
  position:relative;min-width:0;
  display:flex;flex-direction:column;
  border-radius:var(--r-lg);
  padding:24px 20px 22px;
}
.pcard-free,.pcard-m{
  background:var(--white);
  border:1px solid var(--line);
}
.pcard-hi{
  background:var(--midnight);color:var(--ivory);
  border:1px solid var(--midnight);
  box-shadow:0 30px 60px -34px rgba(10,15,44,.6);
}
.pr-badge{
  position:absolute;right:18px;top:-11px;
  font-size:9.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  background:var(--electric);color:var(--midnight);
  border-radius:100px;padding:5px 11px;
}
.pr-name{
  font-size:11.5px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-3);margin-bottom:12px;
}
.pcard-hi .pr-name{color:rgba(251,249,244,.55)}
.pr-amount{
  display:flex;align-items:baseline;gap:2px;
  font-family:var(--serif);font-size:40px;font-weight:700;
  letter-spacing:-.035em;line-height:1;margin-bottom:6px;
}
.pr-cur{font-size:22px;font-weight:600;opacity:.65;align-self:flex-start;margin-top:5px}
.pr-per{font-family:var(--sans);font-size:12.5px;font-weight:500;color:var(--ink-3);letter-spacing:0;margin-left:2px}
.pcard-hi .pr-per{color:rgba(251,249,244,.5)}
.pr-note{font-size:11.5px;color:var(--ink-3);margin-bottom:18px;line-height:1.45}
.pcard-hi .pr-note{color:rgba(251,249,244,.55)}
.pr-list{
  display:flex;flex-direction:column;gap:9px;
  margin-bottom:22px;flex:1;
}
.pr-list li{
  position:relative;padding-left:22px;
  font-size:12.5px;line-height:1.45;color:var(--ink-2);
}
.pcard-hi .pr-list li{color:rgba(251,249,244,.78)}
.pr-list li::before{
  content:'';position:absolute;left:0;top:4px;
  width:13px;height:7px;
  border-left:1.8px solid var(--mint);border-bottom:1.8px solid var(--mint);
  transform:rotate(-45deg);
  border-radius:1px;
}
.pr-list li.is-off{color:var(--ink-3);text-decoration:line-through;text-decoration-color:var(--line-2)}
.pr-list li.is-off::before{
  border:0;width:12px;height:2px;background:var(--line-2);
  transform:none;top:8px;border-radius:2px;
}
.pcard-hi .btn-solid{background:var(--electric);color:var(--midnight)}

/* ---------- 14. Stories ---------- */
.stories{background:var(--ivory)}
.st-grid{display:grid;grid-template-columns:1fr;gap:14px}
.st-card{
  min-width:0;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:24px 20px 20px;
  display:flex;flex-direction:column;gap:18px;
  transition:transform .4s var(--ease),box-shadow .4s,border-color .3s;
}
.st-card:hover{transform:translateY(-3px);box-shadow:0 22px 44px -30px rgba(13,18,41,.42);border-color:var(--line-2)}
.st-q{
  font-family:var(--serif);font-size:16px;font-weight:500;
  line-height:1.46;letter-spacing:-.008em;color:var(--ink);
  flex:1;
}
.st-q::before{
  content:'“';display:block;
  font-size:34px;line-height:.6;color:var(--coral);
  margin-bottom:10px;font-family:var(--serif);
}
.st-who{display:flex;flex-direction:column;gap:1px;padding-top:16px;border-top:1px solid var(--line)}
.st-av{
  width:32px;height:32px;border-radius:50%;
  background:var(--midnight);color:var(--electric);
  display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:700;letter-spacing:.02em;
  margin-bottom:8px;
}
.st-n{font-size:12.5px;font-weight:600;color:var(--ink)}
.st-r{font-size:11px;color:var(--ink-3)}

/* ---------- 15. Newsletter ---------- */
.news{background:var(--ivory-2);padding:48px 0}
.news-in{display:flex;flex-direction:column;gap:22px}
.news-h{
  font-family:var(--serif);font-size:clamp(24px,6vw,38px);
  font-weight:600;line-height:1.12;letter-spacing:-.026em;
  margin-bottom:10px;
}
.news-p{font-size:13.5px;line-height:1.6;color:var(--ink-2);max-width:440px}
.news-form{display:flex;gap:8px;max-width:440px;width:100%}
.news-form input{
  flex:1;min-width:0;
  height:46px;border-radius:10px;
  border:1px solid var(--line-2);
  background:var(--white);
  padding:0 14px;font-size:13.5px;
  transition:border-color .25s,box-shadow .25s;
}
.news-form input::placeholder{color:var(--ink-3)}
.news-form input:focus{outline:none;border-color:var(--midnight);box-shadow:0 0 0 3px rgba(10,15,44,.08)}
.news-form .btn{height:46px}

/* ---------- 16. Footer ---------- */
.ftr{background:var(--midnight-2);color:var(--ivory);padding:48px 0 26px}
.ftr-top{display:flex;flex-direction:column;gap:34px;margin-bottom:34px}
.logo-ftr .logo-mark{color:var(--electric)}
.logo-ftr .logo-t{color:var(--ivory)}
.ftr-tag{font-size:12.5px;color:rgba(251,249,244,.5);margin-top:12px;max-width:230px;line-height:1.55}
.ftr-cols{display:grid;grid-template-columns:repeat(2,1fr);gap:26px 18px}
.ftr-col{display:flex;flex-direction:column;gap:9px;min-width:0}
.ftr-h{
  font-size:10.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
  color:rgba(251,249,244,.42);margin-bottom:3px;
}
.ftr-col a{
  font-size:12.5px;color:rgba(251,249,244,.72);line-height:1.35;
  transition:color .22s;
}
.ftr-col a:hover{color:var(--electric)}
.ftr-bot{
  display:flex;flex-direction:column;gap:14px;
  padding-top:22px;border-top:1px solid rgba(251,249,244,.1);
}
.ftr-copy{font-size:11px;color:rgba(251,249,244,.38)}
.ftr-legal{display:flex;flex-wrap:wrap;gap:14px}
.ftr-legal a{font-size:11px;color:rgba(251,249,244,.5);transition:color .22s}
.ftr-legal a:hover{color:var(--ivory)}
.ftr-social{display:flex;gap:8px}
.ftr-social a{
  width:30px;height:30px;border-radius:50%;
  border:1px solid rgba(251,249,244,.18);
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:600;color:rgba(251,249,244,.65);
  transition:border-color .25s,color .25s,background .25s;
}
.ftr-social a:hover{border-color:var(--electric);color:var(--electric);background:rgba(255,216,77,.07)}

/* ---------- 17. Toast ---------- */
.toast{
  position:fixed;left:50%;bottom:22px;z-index:90;
  transform:translate(-50%,26px);
  max-width:calc(100vw - 32px);
  background:var(--midnight);color:var(--ivory);
  border:1px solid rgba(255,216,77,.28);
  border-radius:11px;
  padding:11px 16px;
  font-size:12.5px;font-weight:500;line-height:1.4;
  box-shadow:0 22px 44px -18px rgba(0,0,0,.6);
  opacity:0;pointer-events:none;
  transition:opacity .3s,transform .38s var(--ease);
}
.toast.is-on{opacity:1;transform:translate(-50%,0)}

/* ---------- 18. Reveal ---------- */
.rv{opacity:0;transform:translateY(16px);transition:opacity .55s var(--ease),transform .55s var(--ease)}
.rv.is-in{opacity:1;transform:none}

/* ---------- 19. Responsive ---------- */
@media (min-width:560px){
  :root{--pad:28px;--hdr-h:66px}
  .hero{padding:52px 0 56px}
  .hero-h{font-size:clamp(42px,8.4vw,60px)}
  .hero-sub{font-size:16px}
  .hero-stats{grid-template-columns:repeat(4,1fr);gap:14px}
  .hs b{font-size:27px}
  .hs span{font-size:11.5px}
  .hero-art{height:380px}
  .hcard{width:214px;padding:15px 17px 16px}
  .hc-t{font-size:15.5px}
  .hero-badge{width:108px;height:108px}
  .hb-num{font-size:27px}
  .subj-grid{grid-template-columns:repeat(3,1fr);gap:12px}
  .subj{min-height:146px;padding:18px 16px 16px}
  .subj-t{font-size:15.5px}
  .subj-ic{width:44px;height:44px}
  .cgrid{grid-template-columns:repeat(2,1fr);gap:16px}
  .cc-media{height:152px}
  .how-grid{grid-template-columns:repeat(2,1fr)}
  .pt-grid{grid-template-columns:repeat(3,1fr)}
  .price-grid{grid-template-columns:repeat(2,1fr)}
  .pcard-hi{grid-column:span 2}
  .st-grid{grid-template-columns:repeat(2,1fr)}
  .news-in{flex-direction:row;align-items:center;justify-content:space-between;gap:40px}
  .news-copy{flex:1;min-width:0}
  .news-form{flex:none;width:360px}
  .ftr-cols{grid-template-columns:repeat(4,1fr)}
  .ftr-bot{flex-direction:row;align-items:center;justify-content:space-between;gap:20px}
  .course-bar{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
  .chips{flex:1;min-width:0}
}

@media (min-width:760px){
  .nav{display:flex}
  .hdr .btn-ghost{display:inline-flex}
  .hdr .btn-solid{display:inline-flex}
  .burger{display:none}
  .mnav{display:none}
  .hero{padding:66px 0 72px}
  .hero-in{grid-template-columns:1.02fr .98fr;gap:44px;align-items:center}
  .hero-art{height:440px;margin:0}
  .hero-stats{margin-top:38px;padding-top:28px}
  .sec{padding:76px 0}
  .sec-head{margin-bottom:36px}
  .cgrid{grid-template-columns:repeat(3,1fr)}
  .how-grid{grid-template-columns:repeat(4,1fr)}
  .pt-grid{grid-template-columns:repeat(4,1fr)}
  .price-grid{grid-template-columns:repeat(3,1fr)}
  .pcard-hi{grid-column:auto;transform:translateY(-8px)}
  .st-grid{grid-template-columns:repeat(3,1fr)}
  .ftr-top{flex-direction:row;justify-content:space-between;gap:48px}
  .ftr-brand{flex:none;width:230px}
  .ftr-cols{flex:1;max-width:640px}
}

@media (min-width:1000px){
  :root{--pad:40px;--hdr-h:72px}
  .nav{gap:30px;margin-left:26px}
  .hero{padding:82px 0 92px}
  .hero-h{font-size:clamp(50px,4.8vw,60px)}
  .hero-art{height:480px}
  .hcard{width:232px;padding:16px 18px 17px}
  .hc-t{font-size:16.5px}
  .hc1{top:0;left:2%}
  .hc2{top:34%;right:0}
  .hc3{bottom:2%;left:16%}
  .hero-badge{width:118px;height:118px;right:2px;bottom:10px}
  .hb-num{font-size:30px}
  .hb-lbl{font-size:9px}
  .sec{padding:88px 0}
  .subj-grid{grid-template-columns:repeat(3,1fr);gap:14px}
  .subj{min-height:164px;padding:22px 20px 18px}
  .subj-t{font-size:16.5px}
  .cc-media{height:164px}
  .cc-t{font-size:17.5px}
  .cgrid{gap:18px}
}

@media (min-width:1240px){
  .cgrid{grid-template-columns:repeat(4,1fr)}
  .hero-h{font-size:60px}
}

/* ---------- 20. Language-specific typography ---------- */
html[lang="ru"] body{line-height:1.62}
html[lang="ru"] .hero-h{font-size:clamp(30px,8.4vw,58px);line-height:1.08}
html[lang="de"] .hero-h{font-size:clamp(31px,8.6vw,60px);line-height:1.08}
html[lang="fr"] .hero-h{font-size:clamp(31px,8.4vw,60px)}
html[lang="es"] .hero-h{font-size:clamp(33px,9vw,64px)}
html[lang="ru"] .sec-h,
html[lang="de"] .sec-h{font-size:clamp(23px,5.6vw,38px);line-height:1.16}
html[lang="ru"] p,
html[lang="ru"] li,
html[lang="de"] p,
html[lang="de"] li,
html[lang="fr"] p,
html[lang="fr"] li{hyphens:auto;-webkit-hyphens:auto}
html[lang="ru"] .mnav-in > a,
html[lang="de"] .mnav-in > a{font-size:24px}
html[lang="ru"] .cc-t,
html[lang="de"] .cc-t{font-size:15.5px;line-height:1.3}
html[lang="ru"] .subj-t,
html[lang="de"] .subj-t{font-size:14px;line-height:1.3}
html[lang="ru"] .chip,
html[lang="de"] .chip{font-size:11.5px}

/* CJK */
html[lang="ja"]{--serif:'Hiragino Mincho ProN','Yu Mincho','YuMincho','Noto Serif JP','Source Han Serif JP',Georgia,serif;--sans:'Hiragino Sans','Hiragino Kaku Gothic ProN','Yu Gothic','YuGothic','Meiryo','Noto Sans JP','Source Han Sans JP',system-ui,sans-serif}
html[lang="ko"]{--serif:'Apple SD Gothic Neo','Malgun Gothic','Noto Serif KR','Source Han Serif KR',Georgia,serif;--sans:'Apple SD Gothic Neo','Malgun Gothic','Noto Sans KR','Source Han Sans KR',system-ui,sans-serif}
html[lang="ja"] .hero-h,
html[lang="ko"] .hero-h{letter-spacing:-.01em;line-height:1.16;font-size:clamp(32px,8.8vw,64px)}
html[lang="ja"] .hero-h em,
html[lang="ko"] .hero-h em{margin-right:0}
html[lang="ja"] p,
html[lang="ja"] li,
html[lang="ja"] .hero-sub{word-break:auto-phrase;line-break:strict}
html[lang="ja"] .sec-h,
html[lang="ko"] .sec-h{letter-spacing:-.01em;line-height:1.2}
html[lang="ja"] .cc-t,
html[lang="ko"] .cc-t{letter-spacing:0;line-height:1.34;font-size:15.5px}
html[lang="ja"] .subj-t,
html[lang="ko"] .subj-t{letter-spacing:0;line-height:1.3}
html[lang="ja"] .hero-eyebrow,
html[lang="ko"] .hero-eyebrow{letter-spacing:.04em}
html[lang="ja"] .hs b,
html[lang="ko"] .hs b{font-size:22px}
html[lang="ja"] .hs span,
html[lang="ko"] .hs span{font-size:10px;letter-spacing:0}
html[lang="ja"] .cc-org,
html[lang="ko"] .cc-org{letter-spacing:.04em}
html[lang="ja"] .pr-name,
html[lang="ko"] .pr-name{letter-spacing:.06em}
html[lang="ja"] .mnav-in > a,
html[lang="ko"] .mnav-in > a{font-size:23px;letter-spacing:0}

/* ---------- 21. Motion / print ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
    scroll-behavior:auto!important;
  }
  .rv{opacity:1;transform:none}
}

@media print{
  .ticker,.hdr,.mnav,.toast,.hero-art,.burger{display:none!important}
  body{background:#fff;color:#000;font-size:11pt}
  .hero{background:#fff;color:#000;padding:20px 0}
  .hero-h,.sec-h,.cc-t,.how-t,.news-h{color:#000}
  .hero-sub,.sec-sub,.cc-d,.how-d{color:#333}
  .sec{padding:18px 0;break-inside:avoid}
  .cc,.how-card,.st-card,.pcard-free,.pcard-m,.pcard-hi{break-inside:avoid;border:1px solid #ccc;box-shadow:none}
  .cc-media{height:60px}
  .cgrid{grid-template-columns:repeat(2,1fr)}
  a[href^="#"]::after{content:''}
}
