/* Louilingo marketing site, v2 design (Nov 2026).
   Same language as the app: night-purple ground with the fleur wallpaper,
   paper cards with ink outlines and hard offset shadows, gold for the one
   thing to press. Fonts are self-hosted (the privacy page promises no
   third parties). */

@font-face { font-family: 'Londrina Solid'; font-weight: 900; font-display: swap; src: url(fonts/londrina-solid-900.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 600; font-display: swap; src: url(fonts/lora-600.woff2) format('woff2'); }
@font-face { font-family: 'Lora'; font-weight: 500; font-style: italic; font-display: swap; src: url(fonts/lora-500-italic.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(fonts/inter-400.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(fonts/inter-500.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(fonts/inter-600.woff2) format('woff2'); }

:root {
  --night: #3D1278; --deep: #2A0F57; --shade: #170A30;
  --paper: #F6EFDF; --ink: #1B1423; --body: #3B3345;
  --gold: #E0A91B; --gold-deep: #9A6F0C;
  --green: #1A6B32; --green-l: #D9EBD3; --lav: #E6DBF7; --lilac: #CDBBEE;
  --display: 'Londrina Solid', 'Arial Black', Impact, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wrap: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--night); color: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ground { background: var(--night) url(wallpaper.png) repeat; background-size: 64px 64px; }
.deep { background: var(--deep); }
.band { border-bottom: 3px solid var(--shade); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: rgba(224, 169, 27, .45); }

/* ── type ───────────────────────────────────────── */
.display { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
h2.display { font-size: clamp(36px, 5vw, 56px); color: var(--paper); max-width: 900px; margin-top: 22px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--lilac); max-width: 680px; margin-top: 18px; }
.sign { display: inline-block; font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--paper); background: var(--ink); border: 2px solid var(--paper); border-radius: 7px; padding: 5px 14px 4px; box-shadow: 4px 4px 0 var(--shade); }
.ital { font-family: var(--serif); font-style: italic; font-weight: 500; }

/* ── buttons and chips ──────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 900;
  text-transform: uppercase; letter-spacing: .05em; color: var(--ink); background: var(--gold); border: 2.5px solid var(--ink); border-radius: 10px;
  padding: 10px 20px 9px; font-size: 18px; line-height: 1; box-shadow: 4px 4px 0 var(--shade); transition: transform .1s ease, box-shadow .1s ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--shade); }
.btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--shade); }
.btn.big { font-size: 26px; padding: 17px 32px 15px; border-width: 3px; border-radius: 12px; box-shadow: 6px 6px 0 var(--shade); }
.btn.paper { background: var(--paper); font-size: 16px; padding: 13px 18px 12px; gap: 0; }
.btn.ink { background: var(--ink); color: var(--paper); box-shadow: 5px 5px 0 var(--gold-deep); }
.chip { display: inline-block; font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 5px 12px 4px; }
.chip.cajun { background: var(--lav); } .chip.creole { background: var(--green-l); }

/* ── paper cards and symbol tiles ───────────────── */
.card { background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--shade); }
.tile { flex: none; width: 58px; height: 58px; border: 2.5px solid var(--ink); border-radius: 10px; display: grid; place-items: center; }
.tile img { width: 72%; height: 72%; }
.tile.lav { background: var(--lav); } .tile.green { background: var(--green-l); } .tile.gold { background: var(--gold); }
.card h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.25; }
.card p { color: var(--body); }

/* ── nav ────────────────────────────────────────── */
nav { background: var(--deep); border-bottom: 3px solid var(--shade); position: sticky; top: 0; z-index: 20; }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand span { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: .03em; color: var(--paper); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--lilac); }
.nav-links a:hover { color: var(--paper); }
.nav-cta .short { display: none; }

/* ── hero ───────────────────────────────────────── */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; align-items: center; padding: 84px 24px 96px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero h1 { font-size: clamp(58px, 7.2vw, 100px); line-height: .94; color: var(--paper); margin-top: 26px; max-width: 640px; }
.hero h1 .echo { color: var(--gold); display: block; }
.hero-french { font-size: 28px; color: var(--gold); margin-top: 20px; }
.hero-body { font-size: 18px; line-height: 1.6; color: var(--lilac); max-width: 540px; margin-top: 14px; }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.cta-note { font-size: 14px; color: var(--lilac); }
.badge-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.badge-note { font-size: 13px; line-height: 1.55; color: var(--lilac); max-width: 520px; margin-top: 18px; }
.badge-note a { color: var(--gold); font-weight: 600; }

/* the phone, drawn like the rest of the page */
.phone { position: relative; background: var(--ink); border-radius: 16%/7.7%; padding: 3.5%; box-shadow: 10px 10px 0 var(--gold); }
.phone img { width: 100%; height: auto; border-radius: 13%/6%; }
.hero-phone { width: 340px; justify-self: center; }

/* ── stats ──────────────────────────────────────── */
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 24px 34px; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--gold); }
.stat span { display: block; font-weight: 500; font-size: 15px; color: var(--lilac); margin-top: 8px; }

section { padding: 96px 0; }

/* ── on your desktop: each screen with its phone version, staggered ── */
.showcase { display: grid; gap: 132px; margin-top: 64px; }
.sc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.sc-screen { grid-column: 1 / 10; grid-row: 1; }
.sc-phone { grid-column: 9 / 13; grid-row: 1; z-index: 2; width: 72%; justify-self: center; margin-bottom: -84px; transform: rotate(3deg); }
.sc-cap { grid-column: 1 / 9; grid-row: 2; display: flex; gap: 18px; align-items: flex-start; margin-top: 30px; }
.sc-b .sc-screen { grid-column: 4 / 13; }
.sc-b .sc-phone { grid-column: 1 / 5; transform: rotate(-3deg); }
.sc-b .sc-cap { grid-column: 5 / 13; }
.sc-cap b { font-family: var(--display); font-weight: 900; font-size: 60px; line-height: .82; color: var(--gold); flex: none; }
.sc-cap span { font-size: 19px; line-height: 1.45; color: var(--paper); max-width: 30ch; }
.sc-a .browser { box-shadow: 10px 10px 0 var(--gold); }
.sc-b .browser { box-shadow: 10px 10px 0 var(--green); }
.sc-c .browser { box-shadow: 10px 10px 0 var(--lilac); }
.sc .device { box-shadow: 8px 8px 0 var(--gold); }
.browser { background: var(--lav); border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; box-shadow: 8px 8px 0 var(--shade); }
.browser-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-bottom: 3px solid var(--ink); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }
.browser-bar i:nth-child(1) { background: var(--gold); } .browser-bar i:nth-child(2) { background: var(--green); } .browser-bar i:nth-child(3) { background: var(--night); }
.browser-bar .url { margin-left: 10px; font-size: 12px; font-weight: 500; color: var(--body); background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; padding: 2px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device { position: relative; background: var(--ink); border-radius: 16%/7.7%; padding: 3.5%; box-shadow: 6px 6px 0 var(--shade); }
.device img { width: 100%; height: auto; border-radius: 13%/6%; }
.phone-note { text-align: center; margin-top: 56px; font-size: 16px; color: var(--lilac); }
.phone-note a { color: var(--gold); font-weight: 600; }

/* ── languages, features, voices ────────────────── */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.lang { padding: 28px; }
.lang-head { display: flex; gap: 18px; align-items: center; }
.lang-head .tile { width: 64px; height: 64px; }
.lang h3 { font-size: 27px; }
.region { font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.region.cajun { color: var(--night); } .region.creole { color: var(--green); }
.lang p { font-size: 16px; line-height: 1.65; margin-top: 20px; }
.foot { font-size: 18px; color: var(--lilac); margin-top: 36px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 24px; margin-top: 30px; }
.feature { padding: 26px; }
.feature h3 { font-size: 22px; margin-top: 16px; }
.feature p { font-size: 15px; line-height: 1.6; margin-top: 10px; }
.voice { display: flex; gap: 24px; padding: 24px; align-items: flex-start; }
.voice img { width: 152px; height: 190px; object-fit: cover; border: 2.5px solid var(--ink); border-radius: 10px; flex: none; }
.voice h3 { font-size: 26px; }
.role { font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; color: var(--night); }
.role.creole { color: var(--green); }
.voice p { font-size: 15px; line-height: 1.6; margin-top: 12px; }

/* ── contribute ─────────────────────────────────── */
.panel { max-width: 800px; margin: 0 auto; text-align: center; background: var(--gold); color: var(--ink); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--shade); padding: 40px 32px 44px; }
.panel h2 { font-size: clamp(34px, 4.6vw, 52px); color: var(--ink); margin-top: 22px; }
.panel p { font-size: 17px; line-height: 1.6; max-width: 560px; margin: 18px auto 0; }
.panel .btn { margin-top: 26px; }

/* ── footer ─────────────────────────────────────── */
footer { background: var(--deep); padding: 40px 0 44px; }
.foot-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-row .brand img { width: 38px; height: 38px; } .foot-row .brand span { font-size: 24px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; font-weight: 500; font-size: 14px; color: var(--lilac); }
.foot-links a:hover { color: var(--paper); }
.legal { font-size: 13px; color: var(--lilac); margin-top: 22px; }

/* ── simple pages (feedback, privacy, thank-you) ── */
.page { padding: 64px 0 96px; }
.sheet { max-width: 760px; margin: 0 auto; padding: 44px 48px 48px; }
.sheet h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 6vw, 60px); line-height: .95; color: var(--ink); }
.sheet h2 { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); margin: 34px 0 8px; }
.sheet p, .sheet li { color: var(--body); font-size: 16px; line-height: 1.7; }
.sheet p + p { margin-top: 12px; }
.sheet ul { margin: 10px 0 0 22px; } .sheet li + li { margin-top: 6px; }
.sheet a { color: var(--night); font-weight: 600; }
.sheet .lede { font-size: 18px; color: var(--ink); margin-top: 14px; }
.sheet .updated { font-size: 14px; color: var(--body); margin: 10px 0 22px; }
.sheet label { display: block; font-family: var(--display); font-weight: 900; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); margin: 24px 0 8px; }
.sheet .optional { font-family: var(--sans); font-weight: 400; font-size: 13px; letter-spacing: 0; text-transform: none; color: var(--body); }
.sheet input, .sheet select, .sheet textarea { width: 100%; font: 16px/1.5 var(--sans); color: var(--ink); background: #fff; border: 2.5px solid var(--ink); border-radius: 10px; padding: 12px 14px; }
.sheet textarea { min-height: 150px; resize: vertical; }
.sheet .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.sheet button { margin-top: 30px; cursor: pointer; }
.sheet .note { font-size: 14px; margin-top: 16px; }
.hidden { display: none; }
.nw { white-space: nowrap; }
.center { text-align: center; }
.center .mark { width: 120px; margin: 0 auto 26px; }

/* ── narrower screens ───────────────────────────── */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding: 56px 24px 72px; }
  .hero-phone { width: 300px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-inner { height: 64px; gap: 16px; }
  .brand img { width: 36px; height: 36px; } .brand span { font-size: 22px; }
  .nav-cta { font-size: 15px; padding: 9px 14px 8px; }
  .nav-cta .long { display: none; } .nav-cta .short { display: inline; }
  .hero-inner { padding: 30px 20px 60px; gap: 44px; }
  .hero-french { font-size: 21px; }
  .hero-body { font-size: 16px; }
  .cta-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .cta-row .btn { width: 100%; font-size: 22px; }
  .cta-note { text-align: center; }
  .badge-row { display: grid; grid-template-columns: 1fr 1fr; }
  .badge-row .btn { font-size: 14px; padding: 13px 8px 12px; }
  .badge-row .long { display: none; }
  .hero-phone { width: 250px; }
  .phone { box-shadow: 7px 7px 0 var(--gold); }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding: 24px 20px 28px; }
  .stat b { font-size: 44px; }
  section { padding: 64px 0; }
  .lead { font-size: 16px; }
  .showcase { gap: 72px; margin-top: 40px; }
  .sc, .sc-b { column-gap: 0; align-items: center; }
  .sc .sc-screen { grid-column: 1 / 13; }
  .sc .sc-phone { grid-column: 7 / 13; grid-row: 2; width: 84%; margin: -56px 0 0; }
  .sc .sc-cap { grid-column: 1 / 7; grid-row: 2; margin-top: 24px; flex-direction: column; gap: 6px; }
  .sc-b .sc-phone { grid-column: 1 / 7; }
  .sc-b .sc-cap { grid-column: 7 / 13; padding-left: 14px; }
  .sc-cap b { font-size: 44px; }
  .sc-cap span { font-size: 15px; }
  .browser-bar { height: 32px; padding: 0 10px; gap: 6px; } .browser-bar .url { font-size: 11px; padding: 1px 9px; margin-left: 4px; }
  .phone-note { font-size: 15px; margin-top: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .lang, .feature { padding: 22px; }
  .lang-head .tile { width: 52px; height: 52px; }
  .lang h3 { font-size: 22px; }
  .voice { flex-direction: column; }
  .voice img { width: 120px; height: 150px; }
  .panel { padding: 30px 22px 34px; }
  .sheet { padding: 30px 22px 34px; }
  .sheet .row { grid-template-columns: 1fr; }
  .page { padding: 32px 0 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
