/* Owlie Learn landing page */
:root {
  --font: "Baloo 2", "Fredoka", "Nunito", "Arial Rounded MT Bold", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --ink: #1d2a4d; --muted: #56658c; --bg: #fffaf0; --card: #fff; --line: #ece6d8;
  --orange: #ff7a1a; --orange-d: #d85f00; --blue: #2f8bff; --green: #19b36b; --pink: #ef476f; --purple: #8a5cf6; --teal: #0fa3a3; --yellow: #ffc83d;
  --shadow: 0 4px 0 rgba(29, 42, 77, .08), 0 14px 30px rgba(29, 42, 77, .08);
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #eef2ff; --muted: #a9b6dd; --bg: #0f1731; --card: #1a2346; --line: #2c3866; --shadow: 0 4px 0 rgba(0, 0, 0, .3), 0 14px 30px rgba(0, 0, 0, .3); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 500 18px/1.55 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5rem; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); text-align: center; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 2.2rem; }
.center { text-align: center; }
.fine { font-size: .85rem; color: var(--muted); max-width: 760px; margin: 1.6rem auto 0; text-align: center; }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 800; border-radius: 99px; padding: 10px 22px; background: var(--orange); color: #fff; border: 3px solid var(--orange-d); box-shadow: 0 5px 0 var(--orange-d); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--orange-d); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--orange-d); }
.btn.big { font-size: 1.2rem; padding: 14px 30px; }
.btn.small { padding: 6px 18px; font-size: 1rem; }
.btn.ghost { background: var(--card); color: var(--orange-d); border-color: var(--orange); box-shadow: 0 5px 0 var(--orange); }
.btn.light { background: #fff; color: var(--orange-d); border-color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .18); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(18px, calc((100vw - 1140px) / 2)); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 1.6rem; }
.logo svg { width: 46px; height: 46px; filter: drop-shadow(0 3px 0 rgba(29, 42, 77, .15)); }
.w b:nth-child(5n+1) { color: #ff5d73; } .w b:nth-child(5n+2) { color: #ff9f1c; } .w b:nth-child(5n+3) { color: #19b9a8; } .w b:nth-child(5n+4) { color: #3a86ff; } .w b:nth-child(5n) { color: #8a5cf6; }
.nav nav { display: flex; align-items: center; gap: 6px 22px; }
.nav nav a:not(.btn) { text-decoration: none; font-weight: 700; color: var(--muted); }
.nav nav a:not(.btn):hover { color: var(--orange-d); }

/* hero */
.hero { max-width: 1140px; margin: 0 auto; padding: 56px 18px 30px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.pill { display: inline-block; background: #fff0e0; color: var(--orange-d); font-weight: 800; border-radius: 99px; padding: 4px 16px; font-size: .95rem; }
@media (prefers-color-scheme: dark) { .pill { background: #3b2616; color: #ffb27a; } }
.hl { color: var(--orange); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .22em; border-radius: 99px; background: var(--yellow); z-index: -1; opacity: .8; }
.lead { font-size: 1.25rem; color: var(--muted); max-width: 560px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.4rem 0 1rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-weight: 700; font-size: .98rem; }
.ticks li::before { content: "✔"; color: var(--green); margin-right: 8px; font-weight: 800; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin-inline: auto; }
.blob { position: absolute; inset: 6%; background: linear-gradient(135deg, #ffe3b8, #ffc9d6 55%, #cfe6ff); border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; animation: morph 9s ease-in-out infinite; }
@media (prefers-color-scheme: dark) { .blob { background: linear-gradient(135deg, #4a3020, #4a2438 55%, #1d3560); } }
@keyframes morph { 50% { border-radius: 58% 42% 55% 45% / 44% 56% 44% 56%; transform: rotate(6deg); } }
.big-owl { position: absolute; inset: 14%; width: 72%; height: 72%; animation: bob 4s ease-in-out infinite; filter: drop-shadow(0 12px 0 rgba(29, 42, 77, .12)); }
@keyframes bob { 50% { transform: translateY(-12px) rotate(-2deg); } }
.float { position: absolute; background: var(--card); border-radius: 18px; padding: 8px 14px; font-weight: 800; box-shadow: var(--shadow); font-size: .95rem; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.float span { margin-right: 6px; font-size: 1.2rem; }
.f1 { top: 6%; left: 0; animation-delay: -1s; } .f2 { top: 16%; right: -2%; animation-delay: -2s; } .f3 { bottom: 22%; left: -3%; animation-delay: -3s; }
.f4 { bottom: 6%; right: 6%; animation-delay: -.5s; } .f5 { top: 50%; right: -4%; animation-delay: -4s; }

/* worksheet mock */
.mock-wrap { max-width: 720px; margin: 10px auto 0; padding: 0 18px; }
.mock { background: var(--card); border-radius: 28px; padding: 20px; box-shadow: var(--shadow); border: 3px solid var(--line); transform: rotate(-1deg); }
.mock-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 4px dashed var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.mock-head b { color: var(--orange-d); font-size: 1.25rem; } .mock-head span { color: var(--muted); font-weight: 700; }
.mq { display: flex; gap: 12px; align-items: flex-start; border: 3px solid var(--line); border-radius: 20px; padding: 12px 14px; margin-bottom: 10px; }
.mq .n { flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.mq p { margin: 0 0 8px; font-weight: 700; }
.mopts { display: flex; flex-wrap: wrap; gap: 8px; }
.o { border: 3px solid var(--line); border-radius: 14px; padding: 4px 14px; font-weight: 700; }
.o.good { border-color: var(--green); background: color-mix(in srgb, var(--green) 14%, var(--card)); color: var(--green); }
.mres { display: flex; gap: 12px; align-items: center; background: #fff0e0; border: 3px solid var(--orange); border-radius: 20px; padding: 12px 16px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .mres { background: #3b2616; } }
.mres em { display: block; font-style: normal; color: var(--orange-d); }
.owl-s { font-size: 2.2rem; }

/* sections */
.section { padding: 76px 18px; max-width: 1140px; margin: 0 auto; }
.section.tint { max-width: none; background: linear-gradient(180deg, #fff3dd, #ffe9f0); border-block: 3px solid var(--line); }
@media (prefers-color-scheme: dark) { .section.tint { background: linear-gradient(180deg, #1c2650, #2a1d44); } }
.section.tint > * { max-width: 1140px; margin-inline: auto; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border-radius: 26px; padding: 24px; box-shadow: var(--shadow); border: 3px solid var(--line); transition: transform .2s; }
.card:hover { transform: translateY(-4px) rotate(-.5deg); }
.card .ic { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; font-size: 1.8rem; margin-bottom: 12px; }
.c1 .ic { background: #dcf8e8; } .c2 .ic { background: #fff1c2; } .c3 .ic { background: #e1efff; } .c4 .ic { background: #ffe3eb; } .c5 .ic { background: #ffe7d1; } .c6 .ic { background: #eee6ff; }
.card p { color: var(--muted); margin: 0; }
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g { --c: var(--orange); background: var(--card); border-radius: 26px; padding: 22px; border: 3px solid color-mix(in srgb, var(--c) 40%, var(--card)); box-shadow: 0 6px 0 color-mix(in srgb, var(--c) 45%, var(--card)); position: relative; overflow: hidden; }
.g::before { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb, var(--c) 18%, transparent); }
.g h3 { color: var(--c); font-size: 1.7rem; margin: 0; position: relative; }
.g small { display: block; font-weight: 800; color: var(--muted); margin-bottom: 8px; position: relative; }
.g p { color: var(--muted); font-size: .98rem; margin-bottom: 10px; position: relative; }
.g b { display: inline-block; background: var(--c); color: #fff; border-radius: 99px; padding: 2px 14px; font-size: .9rem; position: relative; }
.g1 { --c: #ff7a1a; } .g2 { --c: #19b36b; } .g3 { --c: #2f8bff; } .g4 { --c: #0fa3a3; } .g5 { --c: #e8507a; } .g6 { --c: #8a5cf6; }
.steps { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { text-align: center; padding: 0 10px; }
.num { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 1.9rem; font-weight: 800; box-shadow: 0 5px 0 var(--orange-d); }
.steps li:nth-child(2) .num { background: var(--green); box-shadow: 0 5px 0 #0e8a50; } .steps li:nth-child(3) .num { background: var(--purple); box-shadow: 0 5px 0 #6a3fd6; }
.steps p { color: var(--muted); }
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.split h2 { text-align: left; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list li { background: var(--card); border-radius: 18px; padding: 12px 18px; border: 3px solid var(--line); }
.lock-card { background: var(--card); border: 3px solid var(--line); border-radius: 28px; padding: 30px 20px; text-align: center; box-shadow: var(--shadow); transform: rotate(2deg); }
.lock-card span { font-size: 4rem; display: block; } .lock-card b { font-size: 1.4rem; display: block; } .lock-card small { color: var(--muted); font-weight: 600; }
.final { text-align: center; color: #fff; padding: 70px 18px; background: linear-gradient(135deg, #ff7a1a, #ef476f 60%, #8a5cf6); margin-top: 20px; }
.final h2 { color: #fff; } .final p { font-size: 1.2rem; opacity: .95; }
.site-foot { text-align: center; padding: 34px 18px 44px; color: var(--muted); }
.logo.small { justify-content: center; font-size: 1.4rem; margin-bottom: 6px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 30px; text-align: center; }
  .lead { margin-inline: auto; } .cta, .ticks { justify-content: center; }
  .hero-art { max-width: 340px; order: -1; }
  .grid3, .gcards, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; } .split h2 { text-align: center; }
  .nav nav a:not(.btn) { display: none; }
  .section { padding: 54px 18px; }
  .f1, .f3 { left: 0; } .f2, .f5 { right: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
