:root{
  --ink:#1b1a18;
  --ink-deep:#100f0e;
  --panel:#2b2b2b;
  --panel-glass:rgba(16,15,14,.86);
  --cream:#fff8e2;
  --paper:#f4f1ec;
  --muted:#b8b2a8;
  --muted-2:#c9c4bb;
  --body-text:#e8e4dc;
  --green:#7bff6a;
  --green-btn:#4b9b3a;
  --green-btn-hi:#57b243;
  --brown:#8b5a2b;
  --brown-hi:#9c6832;
  --brown-deep:#3b2a17;
  --wood-ink:#2a1e11;
  --amber:#ffe9a8;
  --gold-tag:#e8c56a;
  --stone:#5a5a5a;
  --sky-top:#8fd0ff;
  --sky-mid:#b6e3ff;
  --sky-low:#d9f1ff;
  --sky-ink:#20303a;
  /* Pixel face stays on numerals and latin marks; Cyrillic copy needs a readable face */
  --font-pixel:'Pixelify Sans', monospace;
  --font-display:'Unbounded', sans-serif;
  --font-body:'Nunito', sans-serif;
  --bevel:inset -6px -6px 0 rgba(0,0,0,.5), inset 6px 6px 0 rgba(255,255,255,.14);
  --bevel-lite:inset -4px -4px 0 rgba(0,0,0,.45), inset 4px 4px 0 rgba(255,255,255,.12);
  --bevel-wood:inset -6px -6px 0 rgba(0,0,0,.4), inset 6px 6px 0 rgba(255,255,255,.22);
  --bevel-block:inset -7px -7px 0 rgba(0,0,0,.35), inset 7px 7px 0 rgba(255,255,255,.2);
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  color:var(--body-text);
  background:var(--ink);
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;}
*:focus-visible{outline:3px solid var(--green);outline-offset:2px;}
.container{width:100%;max-width:1180px;margin:0 auto;padding:0 32px;}

/* Grid children default to min-width:auto, which lets long text widen tracks */
.hero-grid > *, .steps > *, .teacher > *, .price-grid > *, .cta-grid > *{min-width:0;}

/* 16px sprites must stay crisp at every scale */
.tex-grass,.tex-dirt,.tex-stone,.tex-planks,.tex-diamond,.tex-gold,.tex-redstone,
.item-bell,.item-pearl,.item-book,
.sect-stone,.sect-deepslate,header,.ground,.faq-item{image-rendering:pixelated;}
.tex-grass{background:url("images/grass_side.png") 0 0/100% 100%;}
.tex-dirt{background:url("images/dirt.png") 0 0/100% 100%;}
.tex-stone{background:url("images/stone.png") 0 0/100% 100%;}
.tex-planks{background:url("images/planks.png") 0 0/100% 100%;}
.tex-diamond{background:url("images/diamond_ore.png") 0 0/100% 100%;}
.tex-gold{background:url("images/gold_ore.png") 0 0/100% 100%;}
.tex-redstone{background:url("images/redstone_ore.png") 0 0/100% 100%;}
/* Item sprites: contacts read faster as objects than as raw block faces */
.item-bell,.item-pearl,.item-book{background-repeat:no-repeat;background-position:center;background-size:78% 78%;}
.item-bell{background-image:url("images/item_bell.png");}
.item-pearl{background-image:url("images/item_pearl.png");}
.item-book{background-image:url("images/item_book.png");}

h1,h2,h3{font-family:var(--font-display);font-weight:800;text-transform:uppercase;}

/* Buttons: flat blocks with a carved bevel, never rounded */
.btn{
  display:inline-block;
  font-family:var(--font-body);
  font-size:16px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  text-decoration:none;
  text-align:center;
  padding:16px 24px;
  border:0;
  cursor:pointer;
  color:#fff;
  background:var(--green-btn);
  text-shadow:2px 2px 0 rgba(0,0,0,.55);
  box-shadow:inset -6px -6px 0 rgba(0,0,0,.4), inset 6px 6px 0 rgba(255,255,255,.32);
}
.btn:hover{background:var(--green-btn-hi);}
.btn:active{box-shadow:inset 6px 6px 0 rgba(0,0,0,.4), inset -6px -6px 0 rgba(255,255,255,.22);}
.btn-brown{background:var(--brown);color:var(--cream);}
.btn-brown:hover{background:var(--brown-hi);}
.btn-block{display:block;width:100%;}

/* Sections */
section{padding:56px 0;position:relative;scroll-margin-top:76px;}
.sect-stone{background:url("images/stone.png") 0 0/64px 64px repeat;}
.sect-deepslate{background:url("images/deepslate.png") 0 0/64px 64px repeat;}
.sect-dark{background:var(--ink);}
.sect-black{background:var(--ink-deep);}
.panel{
  background:var(--panel-glass);
  padding:32px;
  box-shadow:var(--bevel);
}
.section-title{
  font-size:clamp(22px,2.6vw,32px);
  line-height:1.15;
  color:var(--cream);
  text-shadow:4px 4px 0 #000;
  margin-bottom:16px;
}
.section-sub{
  font-size:18px;
  line-height:1.6;
  color:var(--body-text);
  max-width:58em;
  margin-bottom:32px;
  text-wrap:pretty;
}
.section-sub a{color:var(--green);font-weight:700;}

/* Header: HUD bar on planks */
header{
  position:sticky;top:0;z-index:100;
  background:url("images/planks.png") 0 0/48px 48px repeat;
  box-shadow:inset 0 -6px 0 rgba(0,0,0,.35), inset 0 6px 0 rgba(255,255,255,.18);
}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;height:76px;}
.logo{display:flex;align-items:center;gap:14px;min-width:0;text-decoration:none;}
.logo-block{width:44px;height:44px;flex:none;box-shadow:inset -5px -5px 0 rgba(0,0,0,.35), inset 5px 5px 0 rgba(255,255,255,.25);}
.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  font-family:var(--font-display);
  font-size:21px;
  font-weight:800;
  letter-spacing:.04em;
  white-space:nowrap;
  color:var(--cream);
  text-shadow:3px 3px 0 var(--ink-deep);
}
.logo-sub{font-size:13px;color:var(--green);text-shadow:2px 2px 0 var(--ink-deep);}
nav ul{list-style:none;display:flex;align-items:center;gap:8px;}
/* Menu items sit on dark slots so the planks never eat the labels */
nav a{
  display:block;
  padding:10px 14px;
  font-family:var(--font-body);
  font-size:14px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  text-decoration:none;
  color:#fff3d6;
  background:rgba(16,15,14,.75);
  box-shadow:var(--bevel-lite);
}
nav a:hover{color:var(--green);background:rgba(16,15,14,.92);}
.nav-cta{display:flex;align-items:center;gap:16px;}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px;}
.burger span{width:26px;height:4px;background:var(--cream);box-shadow:2px 2px 0 rgba(0,0,0,.5);display:block;}
.mobile-menu{display:none;}

/* Hero: sky, pixel clouds, floating blocks, grass ground */
.hero{
  padding:56px 0 0;
  background:linear-gradient(var(--sky-top) 0%, var(--sky-mid) 60%, var(--sky-low) 100%);
  color:var(--sky-ink);
  overflow:hidden;
}
.cloud{position:absolute;background:#fff;box-shadow:0 0 0 6px #fff;}
.hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding-bottom:48px;}
/* Pixel outline keeps the title readable against the pale sky */
.hero h1,.cta-text .section-title{
  color:#fff;
  letter-spacing:.04em;
  text-shadow:
    -2px 0 0 #2e2b26, 2px 0 0 #2e2b26, 0 -2px 0 #2e2b26, 0 2px 0 #2e2b26,
    5px 5px 0 #2e2b26;
}
.hero h1{
  font-size:clamp(26px,3.4vw,44px);
  line-height:1.1;
  margin-bottom:22px;
}
.hero h1 span{color:#ffc83d;}
.hero p{font-size:19px;line-height:1.55;color:var(--sky-ink);max-width:34em;margin-bottom:28px;text-wrap:pretty;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.ground{
  position:relative;
  height:120px;
  background:url("images/grass_side.png") 0 0/60px 60px repeat-x, url("images/dirt.png") 0 60px/60px 60px repeat;
}
/* Flowers grow out of the turf line into the sky */
.flower{
  position:absolute;
  bottom:calc(100% - 18px);
  width:44px;
  height:44px;
  background-repeat:no-repeat;
  background-position:bottom center;
  background-size:100% 100%;
  image-rendering:pixelated;
  pointer-events:none;
}
.flower-poppy{background-image:url("images/flower_poppy.png");}
.flower-dandelion{background-image:url("images/flower_dandelion.png");}
.flower-cornflower{background-image:url("images/flower_cornflower.png");}
.flower-daisy{background-image:url("images/flower_daisy.png");}

/* Hero art: a cluster of alphabet blocks */
.hero-art{position:relative;justify-self:center;width:100%;max-width:400px;aspect-ratio:1/1;}
.cluster-block{
  position:absolute;
  aspect-ratio:1/1;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  padding-bottom:14%;
  font-family:var(--font-pixel);
  font-style:normal;
  font-size:clamp(18px,3.8vw,34px);
  color:var(--cream);
  text-shadow:3px 3px 0 #2e2b26;
  box-shadow:var(--bevel-block);
  animation:blockFloat 3.6s ease-in-out infinite;
}
.cluster-block.b1{width:38%;top:6%;left:6%;z-index:3;animation-delay:0s;}
.cluster-block.b2{width:30%;top:2%;left:62%;z-index:2;animation-delay:.6s;}
.cluster-block.b3{width:28%;top:46%;left:68%;z-index:2;animation-delay:1.1s;}
.cluster-block.b4{width:32%;bottom:2%;left:10%;z-index:3;animation-delay:.4s;}
@keyframes blockFloat{
  0%,100%{margin-top:0;}
  50%{margin-top:-12px;}
}
.hero-sparkle{
  position:absolute;
  width:14px;height:14px;
  background:var(--cream);
  box-shadow:0 0 0 3px rgba(46,43,38,.55);
  animation:sparkleTwinkle 2.2s ease-in-out infinite;
}
.hero-sparkle.s2{background:var(--green);width:10px;height:10px;animation-delay:.7s;}
.hero-sparkle.s3{background:#fff;width:8px;height:8px;animation-delay:1.3s;}
@keyframes sparkleTwinkle{
  0%,100%{opacity:.35;transform:scale(.7);}
  50%{opacity:1;transform:scale(1);}
}
@media (prefers-reduced-motion:reduce){
  .cluster-block,.hero-sparkle{animation:none;}
}

/* How it works: a chain of blocks */
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.step{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:20px;
  background:var(--panel);
  box-shadow:inset -6px -6px 0 rgba(0,0,0,.5), inset 6px 6px 0 rgba(255,255,255,.16);
}
.step-num{
  width:44px;height:44px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-pixel);
  font-size:24px;
  color:var(--ink-deep);
  background:var(--green);
  box-shadow:inset -5px -5px 0 rgba(0,0,0,.3), inset 5px 5px 0 rgba(255,255,255,.3);
}
.step h3{font-size:17px;color:var(--cream);}
.step p{font-size:14px;line-height:1.45;color:var(--muted-2);}

/* Teacher + AI callout: the single most unusual thing about the course */
.ai-card{
  display:flex;
  align-items:flex-start;
  gap:18px;
  margin-top:20px;
  padding:22px;
  background:var(--panel-glass);
  outline:3px solid var(--green);
  outline-offset:-3px;
  box-shadow:6px 6px 0 rgba(0,0,0,.3);
}
.ai-ico{width:56px;height:56px;flex:none;box-shadow:var(--bevel-block);}
.ai-text{display:flex;flex-direction:column;gap:8px;min-width:0;}
.ai-label{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--green);}
.ai-title{font-size:19px;color:var(--cream);text-shadow:3px 3px 0 #000;}
.ai-card p{font-size:16px;line-height:1.55;color:var(--body-text);max-width:60em;text-wrap:pretty;}

/* Lesson examples: same signboard accordion as the FAQ, with the lesson inside */
.lesson-list{display:flex;flex-direction:column;gap:14px;}
.lesson-item{
  background:url("images/planks.png") 0 0/56px 56px repeat;
  image-rendering:pixelated;
  padding:10px;
  box-shadow:var(--bevel-wood);
}
.lesson-q{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  text-align:left;
  font-family:var(--font-body);
  font-size:19px;
  font-weight:800;
  line-height:1.35;
  color:var(--cream);
  background:rgba(16,15,14,.82);
  border:0;
  padding:14px 16px;
  cursor:pointer;
  box-shadow:var(--bevel-lite);
}
.lesson-q:hover{color:#fff;background:rgba(16,15,14,.92);}
.lesson-q-text{display:flex;align-items:center;gap:12px;}
.lesson-icon{font-size:22px;flex:none;line-height:1;}
.lesson-q .icon{font-family:var(--font-pixel);font-size:26px;color:var(--green);flex:none;line-height:1;}
.lesson-a{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.lesson-item.open .lesson-a{max-height:1200px;}
.lesson-a-inner{
  margin-top:10px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
  background:rgba(16,15,14,.82);
  box-shadow:var(--bevel-lite);
}
.lesson-a-inner p{font-size:16px;line-height:1.5;color:var(--body-text);}
.lesson-a-inner .btn{align-self:flex-start;}
.lesson-frame{padding:8px;background:var(--panel);box-shadow:var(--bevel-lite);}
.lesson-frame iframe{display:block;width:100%;height:560px;border:0;background:#fff;}

/* Teacher */
.teacher{display:grid;grid-template-columns:320px minmax(0,1fr);gap:28px;align-items:start;}
.teacher-photo{padding:10px;background:var(--panel);box-shadow:var(--bevel);}
.teacher-photo img{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center 20%;}
.teacher-info{display:flex;flex-direction:column;gap:14px;padding-top:32px;}
.teacher-name{font-size:26px;color:var(--cream);text-shadow:4px 4px 0 #000;}
.teacher-role{
  font-family:var(--font-body);
  font-weight:800;
  font-size:17px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--green);
  text-shadow:3px 3px 0 #000;
}
.teacher-quote{font-size:18px;line-height:1.6;color:var(--body-text);max-width:44em;text-wrap:pretty;}
.teacher-quote p{margin:0 0 12px;}
.teacher-quote p:last-child{margin-bottom:0;}

/* Pricing */
.price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start;}
.rules-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;}
.rules-title{margin:40px 0 20px;font-size:clamp(20px,2.2vw,26px);text-align:center;}
.price-card{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:24px;
  background:var(--stone);
  color:var(--paper);
  box-shadow:inset -8px -8px 0 rgba(0,0,0,.45), inset 8px 8px 0 rgba(255,255,255,.24);
}
.price-icon{width:48px;height:48px;box-shadow:var(--bevel-block);}
.price-card h3{font-size:20px;color:var(--cream);text-shadow:3px 3px 0 rgba(0,0,0,.5);}
.price-card .price-location{font-size:15px;font-weight:700;color:var(--body-text);}
.price-card .price{
  font-family:var(--font-display);
  font-weight:800;
  font-size:32px;
  line-height:1.1;
  color:var(--green);
  text-shadow:3px 3px 0 rgba(0,0,0,.6);
}
.price-card .price small{font-family:var(--font-body);font-size:14px;font-weight:600;color:var(--paper);text-shadow:none;}
.price-card ul{list-style:none;display:flex;flex-direction:column;gap:8px;margin-top:4px;}
.price-card li{font-size:14px;font-weight:600;line-height:1.4;}
.price-card li::before{content:"— ";}
.price-card .price-rows{gap:6px;padding:12px 0;border-top:1px dashed rgba(255,255,255,.22);border-bottom:1px dashed rgba(255,255,255,.22);}
.price-card .price-rows li{display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
.price-card .price-rows li::before{content:none;}
.price-card .price-rows b{white-space:nowrap;font-size:15px;color:var(--green);}
.price-card .price-feats li::before{content:"✓ ";color:#4FB88A;font-weight:800;}

/* FAQ: wooden signboards with the copy on a carved dark inlay */
.faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;align-items:start;}
.faq-item{
  background:url("images/planks.png") 0 0/56px 56px repeat;
  padding:10px;
  box-shadow:var(--bevel-wood);
}
.faq-q{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  text-align:left;
  font-family:var(--font-body);
  font-size:19px;
  font-weight:800;
  line-height:1.35;
  color:var(--cream);
  background:rgba(16,15,14,.82);
  border:0;
  padding:14px 16px;
  cursor:pointer;
  box-shadow:var(--bevel-lite);
}
.faq-q:hover{color:#fff;background:rgba(16,15,14,.92);}
.faq-q-text{display:flex;align-items:center;gap:12px;}
.faq-icon{font-size:22px;flex:none;line-height:1;}
.faq-q .icon{font-family:var(--font-pixel);font-size:26px;color:var(--green);flex:none;line-height:1;}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease;}
.faq-a-inner{
  margin-top:10px;
  padding:14px 16px;
  font-size:16.5px;
  font-weight:600;
  line-height:1.55;
  color:var(--body-text);
  background:rgba(16,15,14,.82);
  box-shadow:var(--bevel-lite);
  text-wrap:pretty;
}
.faq-item.open .faq-a{max-height:600px;}

/* Contacts */
.contacts-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;}
.contact-slot{
  display:flex;
  align-items:center;
  gap:16px;
  padding:16px;
  text-decoration:none;
  background:var(--panel);
  box-shadow:var(--bevel);
}
.contact-slot:hover{background:#363636;}
.contact-ico{width:46px;height:46px;flex:none;background-color:var(--ink);box-shadow:var(--bevel-lite);}
.contact-text{display:flex;flex-direction:column;gap:2px;min-width:0;}
.contact-label{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--green);}
.contact-value{font-size:19px;font-weight:800;color:var(--cream);word-break:break-word;}
.contact-slot:hover .contact-value{color:#fff;}
/* Final CTA over the sky */
.cta-section{padding:56px 0 0;background:linear-gradient(var(--sky-top), var(--sky-low));color:var(--sky-ink);overflow:hidden;}
.cta-grid{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:32px;align-items:start;padding-bottom:48px;}
.cta-text p{font-size:18px;line-height:1.5;font-weight:600;margin-bottom:18px;max-width:34em;}
.cta-text ul{list-style:none;display:flex;flex-direction:column;gap:8px;}
.cta-text li{font-size:16px;font-weight:700;}
.cta-text li::before{content:"▪ ";color:#2c5a1c;}

/* Achievement toast: the trial-lesson offer reads as an unlocked reward */
.deal-badge{
  display:flex;
  align-items:center;
  gap:14px;
  align-self:flex-start;
  margin-top:22px;
  padding:14px 18px;
  background:var(--ink-deep);
  outline:3px solid var(--gold-tag);
  outline-offset:-3px;
  box-shadow:6px 6px 0 rgba(0,0,0,.25);
}
.deal-badge-ico{
  width:40px;height:40px;flex:none;
  background-color:var(--ink);
  background-repeat:no-repeat;
  background-position:center;
  background-size:78% 78%;
  box-shadow:var(--bevel-lite);
}
.deal-badge-text{display:flex;flex-direction:column;gap:2px;}
.deal-badge-title{font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-tag);}
.deal-badge-value{font-family:var(--font-display);font-weight:800;font-size:17px;text-transform:uppercase;color:var(--cream);}

/* Signup form as an inventory window */
.pixel-form{background:var(--panel-glass);padding:26px;box-shadow:var(--bevel);display:flex;flex-direction:column;}
.pixel-form label{
  font-family:var(--font-body);
  font-weight:800;
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--green);
  text-shadow:2px 2px 0 #000;
  margin-bottom:8px;
  margin-top:18px;
}
.pixel-form label:first-child{margin-top:0;}
.pixel-form input{
  width:100%;
  padding:14px;
  font-family:var(--font-body);
  font-size:16px;
  color:var(--paper);
  background:var(--ink);
  border:0;
  box-shadow:var(--bevel-lite);
}
/* Honeypot: off-screen for people, visible in the DOM for bots */
.hp-field{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden;}
.pixel-form input::placeholder{color:#7d776e;}
.pixel-form input.invalid{outline:3px solid #e03b2f;outline-offset:-3px;}
.field-error{min-height:18px;margin-top:6px;font-size:13px;font-weight:700;color:#ff8a7a;}
.pixel-form .btn{margin-top:24px;}
.pixel-form .btn:disabled{opacity:.65;cursor:default;}
.form-note{font-size:12.5px;color:var(--muted);margin-top:12px;}
.form-status{margin-top:12px;padding:10px 12px;border:1.5px solid currentColor;border-radius:0;background:color-mix(in srgb, currentColor 12%, transparent);color:#ff8a7a;font-size:13.5px;font-weight:700;line-height:1.4;text-align:center;}
.form-status[hidden]{display:none;}
.form-status a{color:inherit;}
.form-status .nowrap{white-space:nowrap;}
/* Success modal: an achievement toast blown up to full screen */
.modal{
  position:fixed;
  inset:0;
  z-index:200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(10,9,8,.78);
}
.modal[hidden]{display:none;}
.modal-box{
  width:100%;
  max-width:460px;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:26px;
  background:var(--panel);
  outline:3px solid var(--gold-tag);
  outline-offset:-3px;
  box-shadow:var(--bevel), 10px 10px 0 rgba(0,0,0,.45);
  animation:modalPop .18s ease-out;
}
@keyframes modalPop{
  from{transform:translateY(10px);opacity:0;}
  to{transform:translateY(0);opacity:1;}
}
@media (prefers-reduced-motion:reduce){.modal-box{animation:none;}}
.modal-head{display:flex;align-items:center;gap:14px;}
.modal-ico{
  width:48px;height:48px;flex:none;
  background-color:var(--ink);
  background-repeat:no-repeat;
  background-position:center;
  background-size:78% 78%;
  box-shadow:var(--bevel-lite);
}
.modal-kicker{
  display:block;
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold-tag);
}
.modal-title{font-size:21px;color:var(--cream);}
.modal-box p{font-size:16px;line-height:1.55;color:var(--body-text);text-wrap:pretty;}
.modal-box a{color:var(--green);font-weight:700;}
.link-inline{
  font:inherit;
  color:var(--green);
  font-weight:800;
  text-decoration:underline;
}
.link-inline:hover{color:var(--cream);}

/* Footer */
footer{background:var(--ink-deep);padding:28px 0 22px;font-size:14px;color:var(--muted);}
footer a{text-decoration:none;color:var(--muted);}
footer a:hover{color:var(--green);}
.footer-bottom{text-align:center;color:#8e887e;font-size:13px;}
.footer-bottom p{margin:0;}
.footer-disclaimer{margin-top:6px !important;font-size:12px;opacity:.8;}

/* Responsive */
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr;}
  .hero-art{max-width:300px;}
  .cloud{display:none;}
  .teacher{grid-template-columns:1fr;}
  .teacher-photo{max-width:320px;}
  .price-grid{grid-template-columns:1fr;}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));}
  .faq-list{grid-template-columns:1fr;}
  .contacts-grid{grid-template-columns:1fr;}
  .cta-grid{grid-template-columns:1fr;}
}
@media (max-width:900px){
  nav ul{display:none;}
  .burger{display:flex;}
  .mobile-menu.show{
    display:block;
    padding:16px 32px 24px;
    background:url("images/planks.png") 0 0/48px 48px repeat;
    image-rendering:pixelated;
    box-shadow:inset 0 -6px 0 rgba(0,0,0,.35);
  }
  .mobile-menu ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
  .mobile-menu a{
    display:block;
    padding:14px 16px;
    font-family:var(--font-body);
    font-weight:800;
    font-size:16px;
    letter-spacing:.04em;
    text-transform:uppercase;
    text-decoration:none;
    color:#fff3d6;
    background:rgba(16,15,14,.78);
    box-shadow:var(--bevel-lite);
  }
  .mobile-menu a:hover{color:var(--green);background:rgba(16,15,14,.92);}
}
@media (max-width:700px){
  .container{padding:0 20px;}
  section{padding:40px 0;}
  .panel{padding:22px;}
  .logo-text{font-size:20px;}
  .logo-sub{font-size:14px;}
  .logo-block{width:36px;height:36px;}
  .steps,.faq-list{grid-template-columns:1fr;}
  .ai-card{flex-direction:column;gap:14px;}
  .lesson-frame iframe{height:420px;}
  .ground{height:90px;background-size:46px 46px, 46px 46px;background-position:0 0, 0 46px;}
  .flower{width:32px;height:32px;bottom:calc(100% - 13px);}
  .mobile-menu.show{padding:16px 20px 24px;}
}

/* Links to the main IrinaKids site */
.price-note{margin-top:22px;font-size:15px;color:var(--muted);text-align:center;}
.price-note a, .faq-a-inner a{color:var(--green);font-weight:700;}

/* Easter eggs */
.egg-target,.egg-chicken,.egg-egg,.egg-chick{cursor:pointer;}
/* Rapid clicks would otherwise select the letter inside */
.egg-target{user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;}
.cluster-block.broken{visibility:hidden;}
.egg-particle{position:fixed;z-index:200;width:8px;height:8px;pointer-events:none;image-rendering:pixelated;}

/* Chicken, its egg and the chick stand on the hero grass */
.egg-chicken,.egg-egg,.egg-chick{
  position:absolute;
  padding:0;
  border:0;
  background:none;
  image-rendering:pixelated;
}
.egg-chicken svg,.egg-egg svg,.egg-chick svg{width:100%;height:100%;display:block;}
.egg-chicken{bottom:calc(100% - 14px);width:54px;height:48px;}
.egg-chicken.left{transform:scaleX(-1);}
.egg-chicken.walking svg{animation:chickenBob .35s steps(2,jump-none) infinite;}
.egg-chicken.hop svg{animation:eggHop .4s ease-out;}
.egg-egg{bottom:calc(100% - 10px);width:24px;height:20px;animation:eggDrop .4s ease-in;}
.egg-chick{bottom:calc(100% - 10px);width:30px;height:30px;animation:eggHop .5s ease-out;}
.egg-chick.hop{animation:eggHop .4s ease-out;}
@keyframes chickenBob{50%{translate:0 -3px;}}
@keyframes eggHop{50%{transform:translateY(-18px);}}
@keyframes eggDrop{from{transform:translateY(-30px);opacity:0;}to{transform:none;opacity:1;}}

.egg-toast{
  position:fixed;
  z-index:150;
  top:84px;
  right:16px;
  display:flex;
  align-items:center;
  gap:12px;
  max-width:min(340px,calc(100vw - 32px));
  padding:12px 16px;
  background:var(--panel-glass);
  color:var(--body-text);
  box-shadow:var(--bevel-lite);
  border:3px solid #000;
  pointer-events:none;
}
.egg-toast[hidden]{display:none;}
.egg-toast.in{animation:toastIn .3s ease-out;}
@keyframes toastIn{from{transform:translateX(120%);}to{transform:none;}}
.egg-toast-ico{flex:none;width:36px;height:36px;background-size:100% 100%;image-rendering:pixelated;}
.egg-toast-kicker{display:block;font-size:12px;color:var(--gold-tag);text-transform:uppercase;letter-spacing:.06em;}
.egg-toast-title{display:block;font-size:19px;color:var(--cream);line-height:1.25;}
.egg-toast-text{display:block;font-size:14px;line-height:1.4;}

@media (prefers-reduced-motion:reduce){
  .egg-toast.in,.egg-chicken.hop svg,.egg-chicken.walking svg,.egg-egg,.egg-chick{animation:none;}
}
@media (max-width:700px){
  .egg-toast{top:72px;}
}

/* Footer legal links and the cookie banner's colours (the banner itself lives in consent.js) */
.footer-links{margin-top:8px !important;display:flex;justify-content:center;flex-wrap:wrap;gap:6px 16px;}
.footer-links a{color:inherit;}
.footer-links button{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;}
.footer-links button:hover{text-decoration:underline;}
.footer-links button[hidden]{display:none;}
:root{
  --ck-bg:var(--panel);
  --ck-fg:var(--body-text);
  --ck-accent:var(--green-btn);
  --ck-accent-fg:#fff;
  --ck-link:var(--green);
  --ck-border:3px solid #000;
  --ck-radius:0;
  --ck-btn-radius:0;
  --ck-font:var(--font-body, 'Nunito', sans-serif);
}
