/* ollivoo.com
   Layout: one column of wide bands, each with an inner wrapper. The hero is a coloring page that colors itself.
   Look: Ollivoo's world (day sky, night blue, his orange), the book's thick black line, round friendly type. */
:root {
  --sky: #DDEFFB;
  --sky-deep: #B9DCF4;
  --paper: #FFFFFF;
  --ink: #1F2A44;
  --soft: #4F5E80;
  --owl: #E06A24;
  --owl-deep: #A9471A;
  --night: #2B3770;
  --night-ink: #EEF3FF;
  --grass: #5DBB63;
  --sun: #FFD23F;
  --line: 3px solid #000;
  --display: 'Fredoka', 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --r: 28px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --sky: #17203A; --sky-deep: #0E1428; --paper: #222C4A; --ink: #EEF3FF; --soft: #B6C2DE; --night: #0E1428; color-scheme: dark; }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--sky); color: var(--ink); font-family: var(--body); font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(38px, 6vw, 64px); }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0; max-width: 62ch; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(48px, 8vw, 96px); }
.stack { display: grid; gap: 18px; }
:focus-visible { outline: 3px solid var(--owl); outline-offset: 3px; }

/* header */
.top { padding-block: 14px; }
.top .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top .logo img { height: 44px; width: auto; }
.top nav { display: flex; gap: 6px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.top nav a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 18px; padding: 8px 14px; border-radius: 999px; }
.top nav a:hover, .top nav a[aria-current="page"] { background: var(--paper); }
.top nav .lang { border: 2px solid var(--ink); padding: 6px 12px; font-size: 15px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; border: 0; cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 21px; padding: 14px 26px; border-radius: 999px; background: var(--owl); color: #fff; box-shadow: 0 5px 0 var(--owl-deep); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--owl-deep); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--owl-deep); }
.btn.ghost { background: var(--paper); color: var(--ink); box-shadow: 0 5px 0 var(--sky-deep); }
.btn svg { width: 24px; height: 24px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* hero: the page colors itself, then the visitor can drag the brush */
.hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero .lede { font-size: 21px; color: var(--soft); }
.kicker { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .04em; color: var(--owl); text-transform: uppercase; }
.colorme { position: relative; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 8px 0 var(--sky-deep); aspect-ratio: 722 / 604; touch-action: pan-y; cursor: ew-resize; max-width: 100%; }
.colorme img { position: absolute; inset: 0; width: 100%; height: 100%; }
.colorme .done { clip-path: inset(0 calc(100% - var(--x, 0%)) 0 0); }
.colorme .brush { position: absolute; top: 0; bottom: 0; left: var(--x, 0%); width: 0; }
.colorme .brush::before { content: ""; position: absolute; top: 0; bottom: 0; left: -2px; width: 4px; background: #000; }
.colorme .brush::after { content: ""; position: absolute; top: 50%; left: -26px; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; background: var(--owl) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center/26px no-repeat; border: 3px solid #000; }
.colorme .tag { position: absolute; left: 14px; bottom: 12px; background: #fff; border: 2px solid #000; border-radius: 999px; padding: 4px 12px; font-family: var(--display); font-weight: 600; font-size: 15px; color: #1F2A44; }

/* sections */
.watch { background: var(--night); color: var(--night-ink); }
.watch .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.watch p { color: #C9D4F2; }
.eps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: ep; }
.eps li { counter-increment: ep; display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.07); border-radius: 18px; padding: 10px 16px; font-family: var(--display); font-weight: 500; font-size: 19px; }
.eps li::before { content: counter(ep); flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: #1F2A44; display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.watch .btn.ghost { background: #fff; color: #1F2A44; box-shadow: 0 5px 0 #0B1022; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card { background: var(--paper); border-radius: var(--r); overflow: hidden; display: grid; text-decoration: none; box-shadow: 0 6px 0 var(--sky-deep); transition: transform .15s; }
a.card:hover { transform: translateY(-4px) rotate(-.4deg); }
.card .pic { background: #fff; border-bottom: var(--line); }
.card .body { padding: 18px 22px 22px; display: grid; gap: 8px; }
.card .body p { color: var(--soft); font-size: 17px; }
.card.soon { opacity: .75; }
.pill { justify-self: start; font-family: var(--display); font-weight: 600; font-size: 14px; padding: 2px 12px; border-radius: 999px; background: var(--sky); }

.book .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fan { position: relative; aspect-ratio: 1 / .95; }
.fan img { position: absolute; width: 62%; border: 3px solid #000; border-radius: 14px; background: #fff; box-shadow: 0 6px 0 rgba(0,0,0,.12); }
.fan img:nth-child(1) { left: 0; top: 14%; transform: rotate(-7deg); }
.fan img:nth-child(2) { left: 19%; top: 4%; transform: rotate(2deg); z-index: 1; }
.fan img:nth-child(3) { right: 0; top: 20%; transform: rotate(8deg); z-index: 2; }

form.signup { display: grid; gap: 12px; max-width: 520px; }
form.signup label.field { display: grid; gap: 6px; font-weight: 800; }
form.signup input[type="email"] { font: inherit; font-size: 19px; padding: 14px 18px; border-radius: 16px; border: var(--line); background: #fff; color: #1F2A44; width: 100%; }
form.signup .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--soft); }
form.signup .consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--owl); }
form.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { font-weight: 800; padding: 12px 16px; border-radius: 14px; background: var(--paper); }
.msg.ok { border-left: 6px solid var(--grass); }
.msg.err { border-left: 6px solid #E23B4A; }

.parents .grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.parents .point { display: grid; gap: 8px; }
.parents .point h3 { display: flex; gap: 10px; align-items: center; }
.parents .point h3 i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 3px solid #000; font-style: normal; flex: none; }
.parents .point h3 i svg { width: 22px; height: 22px; }
.parents .point p { color: var(--soft); font-size: 17px; }

.prose { max-width: 70ch; }
.prose h2 { margin-top: 28px; font-size: 28px; }
.prose p, .prose ul { margin: 12px 0 0; }

footer.site { background: var(--sky-deep); padding-block: 36px; font-size: 15px; color: var(--soft); }
footer.site .wrap { display: flex; gap: 18px 32px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .hero .wrap, .watch .wrap, .book .wrap { grid-template-columns: 1fr; }
  .top nav { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .btn, .card { transition: none; } }
