:root {
  --green: #009A17;
  --green-dark: #00751A;
  --gold: #FFD200;
  --red: #E0001B;
  --ink: #1B1A17;
  --muted: #5B574F;
  --cream: #FFF8EC;
  --card: #FFFFFF;
  --line: #EFE4CF;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(60, 40, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
h1, h2, h3 { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.12; margin: 0 0 .4em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.flag-bar { display: flex; height: 6px; }
.flag-bar span { flex: 1; }
.flag-bar span:nth-child(1) { background: var(--green); }
.flag-bar span:nth-child(2) { background: var(--gold); }
.flag-bar span:nth-child(3) { background: var(--red); }
.flag-bar span:nth-child(4) { background: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 248, 236, .9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.35rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 700; }
.nav-links a:hover { color: var(--green-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 6px 0 var(--green-dark);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--green-dark); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--green-dark); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-small { padding: 10px 18px; font-size: .95rem; box-shadow: 0 4px 0 var(--green-dark); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.btn-light { background: #fff; color: var(--green-dark); box-shadow: 0 6px 0 rgba(0,0,0,.18); white-space: nowrap; }
.btn-light:hover { box-shadow: 0 8px 0 rgba(0,0,0,.18); }

/* Hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; margin: 0 0 18px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0,154,23,.18); }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.01em; }
.hl { background: linear-gradient(transparent 62%, var(--gold) 62%); padding: 0 .1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 360px; }
.blob { position: absolute; inset: 8% 6%; background: radial-gradient(circle at 30% 30%, #FFE76A, var(--gold) 60%); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.mascot { position: relative; width: min(420px, 90%); filter: drop-shadow(0 18px 24px rgba(0,0,0,.14)); animation: bob 4s ease-in-out infinite; }
.bubble { position: absolute; background: #fff; border-radius: 18px; padding: 10px 16px; font-weight: 800; box-shadow: var(--shadow); font-family: "Baloo 2", sans-serif; font-size: 1.15rem; }
.bubble-a { top: 8%; left: 0; }
.bubble-b { bottom: 12%; right: 0; color: var(--green-dark); }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .mascot { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 72px 0; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.6rem); text-align: center; font-weight: 800; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 40px; max-width: 36em; }

.phrases { padding-top: 24px; }
.phrase-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.phrase-list li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; text-align: center; box-shadow: var(--shadow); }
.phrase-list strong { display: block; font-family: "Baloo 2", sans-serif; font-size: 1.4rem; color: var(--green-dark); }
.phrase-list span { color: var(--muted); font-weight: 600; }

.features { background: #fff; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card h3 { font-size: 1.35rem; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 16px; }
.i-green { background: rgba(0,154,23,.14); }
.i-gold { background: rgba(255,210,0,.3); }
.i-red { background: rgba(224,0,27,.12); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--gold); font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); margin: 0; }

.languages { background: #fff; }
.lang-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.lang { border: 2px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; background: var(--cream); }
.lang.live { border: 2px solid var(--green); background: rgba(0,154,23,.06); }
.lang h3 { font-size: 1.8rem; margin: 10px 0 2px; }
.lang p { margin: 0; color: var(--muted); }
.tag { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; background: var(--green); color: #fff; }
.tag.soon { background: var(--ink); color: var(--gold); }

.beta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; border-radius: 32px; padding: 48px;
  position: relative; overflow: hidden;
}
.beta-box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,210,0,.25); }
.beta-box > * { position: relative; z-index: 1; }
.beta-box h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.beta-box p { margin: 0; max-width: 36em; opacity: .95; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

.site-footer { background: var(--ink); color: #EDE6D6; padding: 36px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand p { margin: 0; opacity: .75; font-size: .95rem; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--gold); text-decoration: none; font-weight: 700; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row { justify-content: center; }
  .hero-art { min-height: 300px; order: -1; }
  .card-grid, .steps, .lang-grid { grid-template-columns: 1fr 1fr; }
  .phrase-list { grid-template-columns: repeat(3, 1fr); }
  .beta-box { flex-direction: column; text-align: center; padding: 36px 24px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero { padding-top: 36px; }
  section { padding: 56px 0; }
  .card-grid, .steps, .lang-grid { grid-template-columns: 1fr; }
  .phrase-list { grid-template-columns: 1fr 1fr; }
  .bubble { font-size: 1rem; }
}
