/* Lingo List marketing site - mirrors the app's warm design language:
   kawai-blue palette (primary #2F7BB0, sky #94DFFF, peach #FFD4B1),
   Nunito body, Lobster wordmark. No cookies, no trackers, no JS required. */

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunito-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: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("fonts/nunito-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lobster";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lobster-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: "Lobster";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/lobster-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --primary: #2f7bb0;
  --primary-dark: #25638e;
  --sky: #94dfff;
  --sky-soft: #c9efff;
  --peach: #ffd4b1;
  --page: #ffffff;
  --card: #ffffff;
  --card-border: #e0e0e0;
  --text: #24313c;
  --text-body: #5a6570;
  --glow: rgba(47, 123, 176, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--page);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
  position: relative;
  z-index: 2;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand span {
  font-family: "Lobster", cursive;
  font-size: 1.9rem;
  color: var(--text);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.header-nav a {
  text-decoration: none;
  color: var(--primary);
}

.header-nav a:hover {
  text-decoration: underline;
}

.lang-switch {
  border: 1.5px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--card);
}

/* ---------- hero: full-strength warm background ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky-soft) 55%, var(--page) 100%);
  margin-top: -70px;
  padding-top: 70px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* soft brand circles, like WarmBackground */
.hero::before {
  width: 340px;
  height: 340px;
  right: -120px;
  top: -100px;
  background: rgba(255, 212, 177, 0.55);
}

.hero::after {
  width: 260px;
  height: 260px;
  left: -110px;
  top: 40%;
  background: rgba(255, 255, 255, 0.4);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding-top: 46px;
  padding-bottom: 64px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  font-weight: 800;
  margin: 0 0 16px;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text);
  opacity: 0.85;
  margin: 0 0 26px;
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-cta .coming-soon {
  font-size: 0.85rem;
  color: var(--text-body);
}

.badge-link {
  display: inline-block;
  border-radius: 12px;
  line-height: 0;
}

.badge-link img {
  height: 62px;
  width: auto;
}

/* glowing, gently pulsing store badge - the screen's one delight focal point */
.badge-glow {
  box-shadow: 0 0 18px 2px var(--glow);
  animation: breathe 2.8s ease-in-out infinite;
}

@keyframes breathe {
  0%, 55%, 100% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge-glow {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* mascot + phone scene */
.hero-scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
}

.phone {
  position: relative;
  width: min(272px, 68vw);
  border-radius: 34px;
  padding: 10px;
  background: #1d2731;
  box-shadow: 0 24px 48px -18px rgba(29, 39, 49, 0.45);
}

.phone img {
  display: block;
  border-radius: 26px;
  width: 100%;
}

.hero-mascot {
  width: clamp(96px, 13vw, 140px);
  margin-right: -26px;
  margin-bottom: 8px;
  z-index: 1;
  filter: drop-shadow(0 10px 12px rgba(29, 39, 49, 0.25));
}

/* ---------- shared section styling ---------- */

section {
  padding: 56px 0;
}

section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin: 0 0 10px;
}

section p.section-lead {
  text-align: center;
  color: var(--text-body);
  max-width: 40rem;
  margin: 0 auto 36px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 22px;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.18);
}

.card .emoji {
  font-size: 1.9rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 12px 0 6px;
}

.card p {
  margin: 0;
  color: var(--text-body);
  font-size: 0.97rem;
}

/* ---------- feature rows ---------- */

.feature-rows {
  display: grid;
  gap: 26px;
  max-width: 46rem;
  margin: 0 auto;
}

.feature-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.feature-row .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(160deg, var(--sky-soft), var(--peach));
}

.feature-row h3 {
  margin: 4px 0 4px;
  font-size: 1.1rem;
  font-weight: 800;
}

.feature-row p {
  margin: 0;
  color: var(--text-body);
}

/* ---------- quotes (hidden until real ones exist) ---------- */

.quotes {
  background: linear-gradient(180deg, var(--page) 0%, var(--sky-soft) 120%);
}

.quote-card blockquote {
  margin: 0;
  font-size: 1rem;
}

.quote-card figcaption {
  margin-top: 10px;
  font-weight: 700;
  color: var(--text-body);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 46rem;
  margin: 0 auto;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px -6px rgba(0, 0, 0, 0.15);
}

.faq summary {
  font-weight: 800;
  padding: 12px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 16px;
  color: var(--text-body);
}

/* ---------- bottom CTA ---------- */

.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(180deg, var(--page) 0%, var(--sky) 130%);
}

.cta-final .hero-mascot {
  margin: 0 auto 6px;
  display: block;
}

.cta-final .badge-link {
  margin-top: 18px;
}

.cta-final .coming-soon {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 34px 0 40px;
  font-size: 0.88rem;
  color: var(--text-body);
}

.site-footer .wrap {
  display: grid;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

.no-trackers {
  opacity: 0.8;
}

/* ---------- legal pages ---------- */

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: 24px 20px 64px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.legal .updated {
  color: var(--text-body);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 32px 0 8px;
}

.legal p, .legal li {
  color: var(--text-body);
}

.legal strong {
  color: var(--text);
}

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 30px;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-scene {
    margin-top: 10px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .header-nav .nav-faq {
    display: none;
  }
}
