/* LessonPop website: same palette and rounded type as the app (ios/LessonPop/DesignSystem/Theme.swift). */
:root {
  --ink: #1F2340; --ink-soft: #3A3F5C; --muted: #5A5F7A; --ground: #F3F6FF; --line: #E3E7F7;
  --blue: #2D4BF0; --blue-soft: #EEF2FF; --yellow: #FFC93C; --yellow-soft: #FFF7D6; --purple: #6D28D9;
  --green: #12805C; --white: #FFFFFF;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 500 17px/1.6 var(--font); }
a { color: var(--blue); text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

.top { position: sticky; top: 0; z-index: 2; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { border-radius: 8px; }
.top nav { display: flex; gap: 16px; flex-wrap: wrap; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a:hover { color: var(--blue); }

.hero { background: var(--blue); color: var(--white); text-align: center; padding: 56px 0 64px; }
.appicon { border-radius: 28px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.hero h1 { font-size: clamp(32px, 6vw, 52px); line-height: 1.1; margin: 24px 0 14px; font-weight: 800; letter-spacing: -.5px; }
.hero .lead { font-size: clamp(18px, 2.6vw, 22px); max-width: 640px; margin: 0 auto; color: var(--white); opacity: .95; }
.soon span { display: inline-block; margin-top: 28px; background: var(--yellow); color: var(--ink); font-weight: 800; padding: 12px 22px; border-radius: 16px; }

section h2 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; margin: 0 0 24px; font-weight: 800; }
section h3 { margin: 0 0 4px; font-size: 19px; font-weight: 800; }
section p { margin: 0; color: var(--ink-soft); }
.steps, .benefits, .promise { padding: 56px 0; }
.steps { background: var(--ground); }
.steps ol, .benefits ul, .promise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps ol { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { background: var(--white); border: 1.5px solid var(--line); border-radius: 20px; padding: 20px; }
.num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--yellow); font-weight: 800; margin-bottom: 10px; }
.benefits ul { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.benefits li { border-left: 4px solid var(--purple); padding: 4px 0 4px 16px; }
.promise { background: var(--yellow-soft); }
.promise li { padding-left: 32px; position: relative; font-weight: 700; }
.promise li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 900; }
.button { display: inline-block; margin-top: 24px; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 800; padding: 12px 22px; border-radius: 14px; }

.prose { padding-top: 40px; padding-bottom: 56px; }
.prose h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 8px; font-weight: 800; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; font-weight: 800; }
.prose p, .prose li { color: var(--ink-soft); }
.prose em { color: var(--muted); font-style: normal; font-size: 15px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.table { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 520px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { background: var(--ground); font-weight: 800; }
.center { text-align: center; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer p { margin: 8px 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--ink-soft); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.langs a { text-decoration: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink-soft); font-weight: 700; }
.langs a[aria-current] { border-color: var(--blue); color: var(--blue); }
.small { font-size: 13px; }
