/* Mozart Match Teachers 2026 - shared by FR, EN, DE, IT and ES pages. */
:root{
  --indigo:#1b1b22;
  --indigo-deep:#111218;
  --indigo-soft:#33353f;
  --gold:#ffb718;
  --gold-soft:#ffd064;
  --paper:#f5f6f8;
  --paper-warm:#fff4d2;
  --ink:#191920;
  --muted:#666873;
  --line:rgba(25,25,32,.10);
  --shadow:0 18px 54px rgba(27,31,43,.10);
  --radius:16px;
}

html{background:#f5f6f8}
body{
  background:#f5f6f8;
  color:var(--ink);
  font-family:"Mulish",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body::before{display:none}
.wrap{max-width:1180px;padding:0 28px}
h1,h2,h3{font-family:"Fraunces",Georgia,serif;letter-spacing:0}
.eyebrow{color:#a86f00;font-size:.75rem;letter-spacing:.16em}

/* App-like top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:30;
  max-width:none;
  min-height:72px;
  padding:12px max(28px,calc((100vw - 1124px)/2));
  border-bottom:1px solid rgba(25,25,32,.07);
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
}
.brand{
  gap:10px;
  color:var(--ink);
  font-family:"Mulish",sans-serif;
  font-size:1.12rem;
  font-weight:800;
}
.brand .dot{
  width:42px;
  height:42px;
  border-radius:12px;
  background:var(--gold);
  color:#17130a;
  box-shadow:none;
}
.nav-links{gap:3px}
.nav-links a{
  padding:9px 12px;
  border-radius:9px;
  color:#5e606a;
  font-size:.8rem;
}
.nav-links a:hover{background:#f0f1f4;color:var(--ink)}
.nav-links .lang{border:0;background:#f0f1f4;color:var(--ink)}

/* First viewport */
.hero{
  min-height:520px;
  margin-top:24px;
  padding:72px 430px 62px 58px !important;
  border:1px solid rgba(25,25,32,.08);
  border-radius:24px;
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow);
}
.hero::after{
  content:"";
  position:absolute;
  right:44px;
  bottom:0;
  width:350px;
  height:480px;
  background:url("../mozart-singing.png") center bottom/contain no-repeat;
  pointer-events:none;
}
.hero .staff{opacity:.06}
.hero .staff span{background:#777984}
.hero .note{display:none}
.hero-inner{max-width:640px}
.hero h1{
  max-width:620px;
  margin:15px 0 18px;
  color:var(--ink);
  font-size:clamp(2.7rem,5vw,4.4rem);
  line-height:1.02;
}
.hero h1 em{color:#dc9500}
.hero .pitch{max-width:590px;color:var(--muted);font-size:1.16rem;line-height:1.6}
.hero .title-banner{
  max-width:590px;
  margin-top:20px;
  padding:13px 16px;
  border-radius:12px;
  background:#fff5d7;
  color:#372909;
  border:1px solid rgba(255,183,24,.34);
  box-shadow:none;
}
.hero .title-banner:hover{background:#ffefbd}
.badges{margin-top:26px;gap:8px}
.badge{
  padding:8px 12px;
  border:1px solid rgba(25,25,32,.09);
  border-radius:9px;
  background:#f7f8fa;
  color:#444650;
  backdrop-filter:none;
}
.badge svg{color:#23966c}
.hero-cta-row{margin-top:22px}
.btn-play,
.hero .hero-cta,
.hero .hero-cta2{
  min-height:44px;
  padding:10px 16px;
  border:1px solid rgba(25,25,32,.10);
  border-radius:10px;
  background:var(--gold);
  color:#211a08;
  box-shadow:none;
}
.btn-play:hover,
.hero .hero-cta:hover{background:#ffc53f;color:#17130a;transform:translateY(-1px)}
.hero .hero-cta2{background:#f0f1f4;color:var(--ink);border-color:rgba(25,25,32,.08)}
.hero .hero-cta2:hover{background:#e8e9ed;color:var(--ink)}

/* Content rhythm */
section{padding-top:72px}
.sec-head{max-width:740px;margin-bottom:28px}
.sec-head h2{color:var(--ink);font-size:clamp(1.9rem,3.4vw,2.8rem)}
.sec-head p{color:var(--muted)}
.why-grid{gap:16px}
.why-card,
.use-card,
.link-row,
.gen-card,
.kgame,
.faq-item,
.contact-card,
.table-card{
  border:1px solid rgba(25,25,32,.08);
  background:#fff;
  box-shadow:none;
}
.why-card{padding:26px;border-radius:16px}
.why-card .num{color:#ffe49b}
.why-card h3,.use-card h3,.link-row .meta b,.kgame .kn,.contact-card h3{color:var(--ink)}
.why-card p,.use-card p,.copy-tip,.contact-card p{color:var(--muted)}
.use-grid{gap:16px}
.use-card{padding:22px;border-radius:16px}
.use-card:hover{box-shadow:0 14px 40px rgba(27,31,43,.08)}
.use-ico{border-radius:12px;background:#fff1c7;color:#8d5e00}

/* Level table */
.table-card{border-radius:16px;box-shadow:none}
thead th{background:#202129;color:#fff}
tbody tr:nth-child(even){background:#f8f9fa}
tbody td{border-color:rgba(25,25,32,.08)}
.lvl{color:var(--ink)}
.lvl small{color:#a56e00}
.params{color:var(--muted)}

/* Link and exercise builders */
.links-grid{gap:12px}
.link-row{border-radius:14px}
.link-row:hover{border-color:rgba(255,183,24,.65);box-shadow:0 8px 25px rgba(27,31,43,.06)}
.link-row .meta code{color:var(--muted)}
.gen-banner{
  padding:16px 18px;
  border:1px solid rgba(255,183,24,.30);
  border-radius:14px;
  background:#fff4d1;
  color:var(--ink);
}
.gen-banner .gb-txt b{font-family:"Mulish",sans-serif;color:var(--ink)}
.gen-banner .gb-txt span{color:var(--muted)}
.gen-card{padding:24px;border-radius:16px;background:#fff}
.gen-title{font-family:"Mulish",sans-serif;color:var(--ink);font-weight:800}
.gen-field{color:#464852}
.gen-field select,
.gen-field input[type="text"]{
  min-height:46px;
  padding:10px 12px !important;
  border:1px solid rgba(25,25,32,.12) !important;
  border-radius:10px !important;
  background:#f8f9fa !important;
  color:var(--ink) !important;
}
.gen-field select:focus,
.gen-field input:focus{outline:3px solid rgba(255,183,24,.24);border-color:var(--gold) !important}
.gen-field.gen-check input{accent-color:var(--gold)}
.gen-out{background:#f8f9fa;border:1px solid rgba(25,25,32,.08)}
.gen-out code{color:#3f414a}
.kids-games{gap:12px}
.kgame{border-radius:14px}
.kgame:hover{border-color:rgba(255,183,24,.60)}
.btn-wa{background:#dff8e9;color:#126139;border-color:rgba(37,211,102,.28)}
.btn-wa:hover{background:#caf1da;color:#0d4e2d}

/* FAQ, share and contact */
.faq-item{border-radius:14px}
.faq-q{font-family:"Mulish",sans-serif;color:var(--ink);font-size:1rem;font-weight:800}
.faq-q .chev{color:#9a6700}
.faq-item[open] .chev{background:var(--gold);color:#17130a;border-color:var(--gold)}
.share-card{
  border-radius:20px;
  background:#202129;
  box-shadow:var(--shadow);
}
.share-btn{border-radius:10px}
.share-btn.primary{background:var(--gold);color:#211a08}
.share-btn.ghost{background:#33343d;color:#fff;border-color:rgba(255,255,255,.12)}
.iframe-block{background:#15161b}
.contact-card{padding:34px;border-radius:18px}
.contact-card .avatar{border-radius:14px;background:var(--gold);color:#211a08}
.contact-card .mailbtn{border-radius:10px;background:#202129}
.contact-card .mailbtn:hover{background:var(--gold);color:#211a08}
footer a{color:var(--ink)}
.toast{border-radius:10px;background:#202129}

@media(max-width:900px){
  .topbar{padding-left:20px;padding-right:20px}
  .hero{min-height:470px;padding:52px 280px 44px 32px !important}
  .hero::after{right:10px;width:275px;height:390px;opacity:.95}
}

@media(max-width:820px){
  .wrap{padding:0 14px}
  .topbar{min-height:62px;padding:9px 14px}
  .brand .dot{width:38px;height:38px}
  .nav-links a:not(.lang){display:none}
  .hero{
    min-height:0;
    margin-top:12px;
    padding:30px 22px 230px !important;
    border-radius:18px;
  }
  .hero::after{
    left:50%;
    right:auto;
    bottom:0;
    width:210px;
    height:225px;
    transform:translateX(-50%);
  }
  .hero h1{font-size:clamp(2.25rem,11vw,3.35rem)}
  .hero .pitch{font-size:1rem}
  .hero .title-banner{font-size:.84rem}
  .badges{display:grid;grid-template-columns:1fr 1fr}
  .badge{justify-content:center;padding:8px 7px;font-size:.76rem;text-align:center}
  .hero-cta-row{display:grid;grid-template-columns:1fr}
  .hero-cta-row .btn-play{justify-content:center}
  section{padding-top:52px}
  .why-grid,.use-grid,.links-grid{grid-template-columns:1fr}
  .table-card{overflow-x:auto;-webkit-overflow-scrolling:touch}
  table{min-width:650px}
  tbody td{padding:15px 16px}
  .link-row{align-items:flex-start;flex-direction:column}
  .link-row .btn-play{width:100%;justify-content:center}
  .gen-card{padding:18px 14px}
  .gen-grid{grid-template-columns:1fr}
  .gen-actions{display:grid;grid-template-columns:1fr 1fr}
  .gen-actions .btn-play{justify-content:center;text-align:center}
  .share-card{padding:28px 20px}
  .share-actions{display:grid;grid-template-columns:1fr}
  .share-btn{justify-content:center}
  .contact-card{padding:24px 20px;align-items:flex-start}
  .contact-card .mailbtn{width:100%;justify-content:center}
}

@media(max-width:430px){
  .brand{font-size:1rem}
  .hero{padding-left:17px !important;padding-right:17px !important}
  .badges{grid-template-columns:1fr}
  .gen-actions{grid-template-columns:1fr}
  .kids-games{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;animation:none}
  *{transition-duration:.01ms !important;animation-duration:.01ms !important}
}
