/* Sonant Academy landing — the app's look (src/ui/next/theme.ts): deep teal,
   game teal, sun, coral, mint; Fredoka for what is said, Inter for the rest;
   der green, die coral, das amber, verbs blue. */
@font-face { font-family: Fredoka; src: url(fonts/fredoka-600.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Fredoka; src: url(fonts/fredoka-700.ttf) format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-400.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/inter-600.ttf) format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --deep: #073B45; --teal: #00838F; --teal-ink: #006A74; --mint: #BDEBF0; --wash: #EAF2F3;
  --sun: #FFC93C; --coral: #F25C3A; --sky: #4FA3F7; --violet: #8B6BE8; --ink: #0D2B30; --mute: #5C7377;
  --der: #2E9A52; --die: #E2553A; --das: #D8920F; --verb: #3B8BD4; --card: #fff;
  --r: 28px;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--wash); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .bar, .cta, .kicker, .chip, .badge, .pin, .big, .step { font-family: Fredoka, Inter, sans-serif; font-weight: 600; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.der { color: var(--der); } .die { color: var(--die); } .das { color: var(--das); } .verb { color: var(--verb); }

/* bar */
.bar { position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1120px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 18px; border-radius: 999px;
  background: rgba(7, 59, 69, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; transition: background .3s; }
.bar.light { background: rgba(255, 255, 255, .86); color: var(--deep); box-shadow: 0 6px 24px rgba(7, 59, 69, .10); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; }
.brand b { color: var(--sun); font-weight: 600; } .bar.light .brand b { color: var(--teal); }
.mark { width: 28px; height: 28px; }
.bar-cta { text-decoration: none; background: var(--sun); color: #1A1300; padding: 10px 18px; border-radius: 999px; font-size: 16px; }

/* kicker, headings */
.kicker { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.kicker b { color: var(--coral); font-weight: 600; }
.kicker.center { text-align: center; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; color: var(--deep); margin-top: 8px; }
.sub { color: var(--mute); font-size: 18px; max-width: 620px; margin-top: 14px; }
section { padding: 96px max(20px, calc((100% - 1120px) / 2)); position: relative; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  padding-top: 120px; color: #fff; overflow: hidden;
  background: radial-gradient(90% 70% at 75% 35%, #0E7C86 0%, var(--deep) 62%); }
.hero::after { content: ''; position: absolute; left: -10%; right: -10%; bottom: -1px; height: 90px; background: var(--wash); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero .kicker { color: var(--mint); }
.hero h1 { margin: 14px 0 6px; }
.wilk { display: flex; font-size: clamp(60px, 9.2vw, 132px); line-height: .95; color: var(--sun); letter-spacing: -.01em; }
.wilk span { display: inline-block; animation: pop .7s cubic-bezier(.3, 1.8, .5, 1) both; }
.wilk span:nth-child(1) { animation-delay: .05s } .wilk span:nth-child(2) { animation-delay: .1s } .wilk span:nth-child(3) { animation-delay: .15s }
.wilk span:nth-child(4) { animation-delay: .2s } .wilk span:nth-child(5) { animation-delay: .25s } .wilk span:nth-child(6) { animation-delay: .3s }
.wilk span:nth-child(7) { animation-delay: .35s } .wilk span:nth-child(8) { animation-delay: .4s } .wilk span:nth-child(9) { animation-delay: .45s }
.wilk span:nth-child(10) { animation-delay: .5s } .wilk span:nth-child(11) { animation-delay: .6s; color: var(--coral); }
@keyframes pop { from { transform: translateY(60px) scale(.3) rotate(-8deg); opacity: 0; } to { transform: none; opacity: 1; } }
.say { display: inline-block; margin-top: 14px; font-size: 20px; color: var(--deep); background: var(--mint); padding: 6px 16px; border-radius: 999px;
  animation: rise .6s ease-out .9s both; font-weight: 600; }
.say b { color: var(--coral); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lede { font-size: clamp(18px, 2vw, 22px); max-width: 560px; color: #DFF3F5; margin-top: 18px; animation: rise .6s ease-out 1.05s both; }
.lede b { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; animation: rise .6s ease-out 1.2s both; }
.cta { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--sun); color: #1A1300; font-size: 20px;
  padding: 16px 28px; border-radius: 999px; box-shadow: 0 6px 0 #C99400; transition: transform .15s, box-shadow .15s; }
.cta:hover { transform: translateY(-2px); box-shadow: 0 8px 0 #C99400; }
.cta:active { transform: translateY(4px); box-shadow: 0 2px 0 #C99400; }
.cta.big { font-size: 24px; padding: 20px 36px; }
.aside { color: var(--mint); font-size: 15px; max-width: 280px; }

.chips { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.chips .chip { position: absolute; left: var(--x); top: var(--y); background: #fff; padding: 8px 16px; border-radius: 999px; font-size: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18); animation: float 5s ease-in-out var(--d) infinite alternate, rise .8s ease-out var(--d) both; opacity: .95; }
@keyframes float { to { transform: translateY(-18px) rotate(3deg); } }

.hero-copy { position: relative; z-index: 2; }

/* the badge on its lanyard */
.badge-wrap { position: relative; display: flex; flex-direction: column; align-items: center; z-index: 2; padding-top: 0; }
.lanyard { width: 34px; height: 130px; margin-top: -140px; background: repeating-linear-gradient(180deg, var(--coral) 0 18px, #FF8E6E 18px 36px); border-radius: 0 0 8px 8px;
  transform-origin: top center; animation: swing 4.5s ease-in-out infinite alternate; }
.badge { width: 270px; margin-top: -8px; background: #fff; color: var(--ink); border-radius: 24px; padding: 0 0 18px; text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform-origin: 50% -140px; animation: swing 4.5s ease-in-out infinite alternate, drop 1.1s cubic-bezier(.3, 1.4, .5, 1) .2s both;
  transition: transform .2s; overflow: hidden; }
@keyframes swing { from { rotate: -4deg; } to { rotate: 4deg; } }
@keyframes drop { from { translate: 0 -120vh; } to { translate: 0 0; } }
.badge-top { position: relative; background: var(--teal); color: #fff; font-size: 13px; letter-spacing: .1em; padding: 26px 10px 12px; }
.clip { position: absolute; top: 8px; left: 50%; width: 46px; height: 10px; margin-left: -23px; border-radius: 6px; background: var(--deep); }
.badge-photo { width: 150px; height: 150px; margin: 18px auto 6px; border-radius: 50%; background: var(--wash); border: 5px solid var(--mint); overflow: hidden; }
.badge-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.25); }
.badge-name { font-family: Fredoka; font-weight: 600; font-size: 30px; color: var(--deep); }
.badge-role { color: var(--mute); font-size: 15px; }
.badge-lang { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 15px; background: var(--wash); padding: 6px 14px; border-radius: 999px; }
.badge-lang b { background: var(--teal); color: #fff; border-radius: 8px; padding: 1px 8px; font-family: Fredoka; font-weight: 600; }
.badge-lang b.goal { background: var(--sun); color: #1A1300; }
.badge-lang i { font-style: normal; color: var(--mute); }
.badge-code { display: flex; justify-content: center; gap: 5px; margin-top: 16px; }
.badge-code i { width: 18px; height: 6px; border-radius: 3px; background: currentColor; }
.badge-note { margin-top: 26px; color: var(--mint); font-size: 15px; }
.badge-note b { color: #fff; }

/* ribbon of sentences */
.ribbon { padding: 72px 0 64px; }
.track { overflow: hidden; margin-top: 26px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lane { display: flex; gap: 20px; width: max-content; padding: 10px 0 20px; animation: slide 60s linear infinite; }
.track:hover .lane { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.card { width: 260px; flex: none; background: var(--card); border-radius: 26px; padding: 18px 18px 20px; box-shadow: 0 10px 30px rgba(7, 59, 69, .08); transition: transform .25s; }
.card:hover { transform: translateY(-6px) rotate(-1deg); }
.card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.card figcaption { margin-top: 8px; display: grid; gap: 4px; }
.card b { font-family: Fredoka; font-weight: 600; font-size: 21px; line-height: 1.15; color: var(--deep); }
.card em { font-style: normal; }
.card span { color: var(--mute); font-size: 15px; }
.legend { text-align: center; color: var(--mute); margin-top: 10px; padding: 0 20px; font-size: 15px; }
.legend span { font-family: Fredoka; font-weight: 600; font-size: 18px; margin-right: 8px; }

/* the road */
.road-sec { background: #fff; border-radius: 48px; margin: 0 max(10px, calc((100% - 1200px) / 2)); }
.road { list-style: none; padding: 0; margin-top: 48px; position: relative; display: grid; gap: 26px; }
.road::before { content: ''; position: absolute; left: 31px; top: 20px; bottom: 20px; width: 6px; border-radius: 3px;
  background: repeating-linear-gradient(180deg, var(--mint) 0 14px, transparent 14px 24px); }
.stop { display: grid; grid-template-columns: 68px 1fr; align-items: center; gap: 18px; position: relative; }
.pin { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; background: var(--c, var(--teal));
  box-shadow: 0 6px 0 rgba(0, 0, 0, .12); position: relative; z-index: 1; }
.pin.flag { background: var(--deep); color: var(--sun); font-size: 24px; }
.stop-card { display: flex; align-items: center; gap: 18px; background: var(--wash); border-radius: 24px; padding: 14px 22px 14px 14px; border: 3px solid transparent; transition: border-color .2s, transform .2s; }
.stop:hover .stop-card { border-color: var(--c, var(--teal)); transform: translateX(6px); }
.stop-card img { width: 92px; height: 92px; object-fit: contain; background: #fff; border-radius: 18px; flex: none; }
.stop-card h3 { font-size: 24px; color: var(--deep); }
.stop-card p { color: var(--mute); }
.stop-card.goal { background: var(--deep); color: #fff; padding: 22px 26px; }
.stop-card.goal h3 { color: var(--sun); } .stop-card.goal p { color: var(--mint); }
@media (min-width: 900px) {
  .road { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .road::before { display: none; }
}

/* how a lesson feels */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.how-card { background: #fff; border-radius: var(--r); padding: 28px 26px 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 30px rgba(7, 59, 69, .07); }
.how-card h3 { font-size: 26px; color: var(--deep); }
.how-card p { color: var(--mute); flex: 1; }
.step { position: absolute; right: 18px; top: 8px; font-size: 90px; line-height: 1; color: var(--wash); z-index: 0; }
.how-card h3, .how-card p, .how-card .mini { position: relative; z-index: 1; }
.how-card.c1 { border-top: 8px solid var(--sun); } .how-card.c2 { border-top: 8px solid var(--teal); } .how-card.c3 { border-top: 8px solid var(--coral); }
.mini { margin-top: 12px; border-radius: 18px; padding: 16px; background: var(--wash); }
.today { background: var(--teal); color: #fff; display: grid; gap: 2px; }
.today small { letter-spacing: .1em; color: var(--mint); font-size: 12px; }
.today b { font-family: Fredoka; font-weight: 600; font-size: 20px; }
.today span { color: #DFF3F5; font-size: 14px; }
.karaoke { font-family: Fredoka; font-weight: 600; font-size: 24px; color: #B9CCCF; }
.karaoke span { transition: color .2s; }
.karaoke span.lit { color: var(--deep); } .karaoke span.der.lit { color: var(--der); }
.fix { display: grid; gap: 6px; }
.fix .said { color: var(--mute); font-size: 15px; } .fix s { color: var(--coral); text-decoration-thickness: 2px; }
.fix .better { font-family: Fredoka; font-weight: 600; font-size: 22px; color: var(--deep); }
.fix .better b { color: var(--teal-ink); font-weight: 700; }
.fix em { font-style: normal; background: var(--sun); color: #1A1300; border-radius: 999px; padding: 1px 10px; font-size: 16px; margin-left: 6px; }

/* made for Brazilians */
.br { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.ticks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 14px; }
.ticks li { padding-left: 40px; position: relative; font-size: 18px; color: var(--mute); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-size: 15px; }
.ticks b { color: var(--deep); }
.br-art { position: relative; background: var(--mint); border-radius: 48px; padding: 40px; }
.bubble { position: absolute; font-family: Fredoka; font-weight: 600; font-size: 24px; padding: 10px 20px; border-radius: 22px; background: #fff; box-shadow: 0 10px 24px rgba(7, 59, 69, .15); animation: float 4s ease-in-out infinite alternate; }
.bubble.b1 { top: 18px; left: -10px; color: var(--deep); }
.bubble.b2 { bottom: 28px; right: -6px; color: var(--coral); animation-delay: 1s; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.fact { background: #fff; border-radius: var(--r); padding: 26px; display: grid; gap: 8px; align-content: start; }
.big { font-size: 52px; line-height: 1; color: var(--coral); }
.fact:nth-child(2) .big { color: var(--teal); } .fact:nth-child(3) .big { color: var(--verb); }
.fact h3 { font-size: 20px; color: var(--deep); }
.fact p { color: var(--mute); font-size: 15px; }
sup { font-size: 11px; color: var(--teal); }

/* faq */
.faq { margin-top: 30px; display: grid; gap: 12px; max-width: 820px; }
.faq details { background: #fff; border-radius: 20px; padding: 18px 22px; }
.faq summary { font-family: Fredoka; font-weight: 600; font-size: 20px; color: var(--deep); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--teal); font-size: 26px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--mute); margin-top: 10px; }

/* the door */
.door { text-align: center; background: var(--sun); border-radius: 48px; margin: 40px max(10px, calc((100% - 1200px) / 2)) 0; padding: 80px 24px; overflow: hidden; }
.door h2 { color: #1A1300; }
.door p { color: #5A4300; font-size: 19px; margin: 12px 0 30px; }
.door .cta { background: var(--deep); color: #fff; box-shadow: 0 6px 0 #02242B; }
.door-badge { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; border: 6px solid #fff; background: var(--wash); overflow: hidden; animation: swing 3s ease-in-out infinite alternate; }
.door-badge img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transform: scale(1.25); }

.sources { padding: 40px max(20px, calc((100% - 1120px) / 2)) 60px; color: var(--mute); font-size: 13px; }
.sources a { color: var(--teal-ink); }
.foot-brand { margin-top: 14px; font-family: Fredoka; font-weight: 600; font-size: 16px; color: var(--deep); }
.foot-brand b { color: var(--teal); font-weight: 600; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1.2); }
.reveal.in { opacity: 1; transform: none; }

/* phone */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 110px; padding-bottom: 120px; text-align: left; }
  .badge-wrap { order: -1; margin-top: 10px; }
  .lanyard { height: 90px; margin-top: -100px; }
  .badge { width: 220px; transform-origin: 50% -100px; }
  .badge-photo { width: 118px; height: 118px; }
  .badge-name { font-size: 24px; }
  .badge-note { display: none; }
  /* On a phone the floating words would sit on the badge and the text. */
  .chips { display: none; }
  .how-grid, .facts, .br { grid-template-columns: 1fr; }
  section { padding-top: 70px; padding-bottom: 70px; }
  .road-sec, .door { border-radius: 32px; }
  .stop { grid-template-columns: 52px 1fr; gap: 12px; }
  .pin { width: 52px; height: 52px; font-size: 22px; }
  .road::before { left: 23px; }
  .stop-card { padding: 10px 14px 10px 10px; gap: 12px; }
  .stop-card img { width: 64px; height: 64px; }
  .stop-card h3 { font-size: 20px; }
  .bar-cta { font-size: 14px; padding: 9px 14px; }
  .brand { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
