/* WordiWoo website — follows "WordiWoo Website.dc.html" (Claude Design).
   Everything is self-hosted: no third-party fonts, scripts or trackers. */
@font-face { font-family: Fredoka; font-weight: 600; font-display: swap; src: url(/fonts/Fredoka_600SemiBold.ttf) format('truetype'); }
@font-face { font-family: Fredoka; font-weight: 700; font-display: swap; src: url(/fonts/Fredoka_700Bold.ttf) format('truetype'); }

:root {
  --ink: #142537; --ink-deep: #030C17; --cream: #FFEBD2; --cream-edge: #E7D4BB;
  --sky: #A4D9F9; --sky-edge: #71ADD0; --teal: #008390; --link: #006AA0; --link-hover: #004D81;
  --red: #F14D4C; --red-e: #B02A2D; --orange: #F99532; --orange-e: #BE6517; --green: #37BB62; --green-e: #0A7E3A;
  --blue: #2EA2E5; --blue-e: #0070A6; --purple: #9867E1; --purple-e: #6C44A4; --gold: #F7CD3A;
  --party: #C44132; --hero-red: #E64343;
  --head: Fredoka, ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
main > section, header, footer { overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 600 17px/1.5 var(--body); overflow-x: hidden; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- logo ---------- */
.logo { display: flex; align-items: center; gap: 4px; color: var(--ink); }
.logo .t { width: 30px; height: 32px; border-radius: 9px; border: 2px solid #fff; display: grid; place-items: center;
  font: 700 19px/1 var(--head); color: #fff; }
.logo .woo { font: 700 24px/1 var(--head); letter-spacing: .12em; color: var(--teal); margin-left: 6px; }
.t1 { background: var(--red); box-shadow: 0 3px 0 var(--red-e); transform: rotate(-6deg); }
.t2 { background: var(--orange); box-shadow: 0 3px 0 var(--orange-e); transform: rotate(4deg); }
.t3 { background: var(--green); box-shadow: 0 3px 0 var(--green-e); transform: rotate(-3deg); }
.t4 { background: var(--blue); box-shadow: 0 3px 0 var(--blue-e); transform: rotate(5deg); }
.t5 { background: var(--purple); box-shadow: 0 3px 0 var(--purple-e); transform: rotate(-4deg); }

/* ---------- header ---------- */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.top nav { display: flex; align-items: center; gap: 24px; font-weight: 800; font-size: 16px; flex-wrap: wrap; }
.top nav a { color: var(--ink); }
.btn-green { background: var(--green); color: #fff !important; padding: 10px 18px; border-radius: 16px; box-shadow: 0 4px 0 var(--green-e); }
.btn-green:hover { transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center; padding-top: 48px; padding-bottom: 88px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.chip { align-self: flex-start; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 15px; box-shadow: 0 3px 0 var(--cream-edge); color: var(--ink); }
.hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; text-wrap: balance; }
.hero h1 span { color: var(--hero-red); }
.lead { margin: 0; font-size: 20px; max-width: 500px; text-wrap: pretty; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { background: var(--ink); color: #fff; border-radius: 18px; padding: 12px 22px; display: flex; flex-direction: column; line-height: 1.1;
  white-space: nowrap; box-shadow: 0 5px 0 var(--ink-deep); }
.store small { font-size: 12px; font-weight: 700; opacity: .8; }
.store b { font: 600 22px/1.1 var(--head); }
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero-art .disc { position: absolute; width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; background: var(--sky); }
.hero-art .woo-big { position: relative; width: 340px; animation: float 3s ease-in-out infinite; }
.floater { position: absolute; animation: drift 3.4s ease-in-out infinite; }
.floater div { width: 56px; height: 60px; border-radius: 16px; border: 3px solid #fff; display: grid; place-items: center; font: 700 34px/1 var(--head); color: #fff; }
.fl1 { left: 4%; top: 10%; animation-duration: 3s; } .fl1 div { background: var(--red); box-shadow: 0 5px 0 var(--red-e); }
.fl2 { right: 8%; top: 4%; animation-duration: 3.6s; animation-delay: -.7s; } .fl2 div { background: var(--orange); box-shadow: 0 5px 0 var(--orange-e); }
.fl3 { right: 0; top: 62%; animation-duration: 4.2s; animation-delay: -1.4s; } .fl3 div { background: var(--green); box-shadow: 0 5px 0 var(--green-e); }
.fl4 { left: 2%; top: 70%; animation-delay: -2.1s; } .fl4 div { background: var(--blue); box-shadow: 0 5px 0 var(--blue-e); }
.fl5 { left: 44%; top: 88%; animation-duration: 3.6s; animation-delay: -2.8s; } .fl5 div { background: var(--purple); box-shadow: 0 5px 0 var(--purple-e); }

/* ---------- sections ---------- */
.section { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 40px; }
.sky { background: var(--sky); }
.white { background: #fff; }
.center { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.section h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; }
.center p { margin: 0; font-size: 19px; max-width: 520px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 20px; }
.step { background: #fff; border-radius: 32px; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; box-shadow: 0 6px 0 var(--sky-edge); }
.step .n { width: 44px; height: 44px; border-radius: 50%; color: #fff; display: grid; place-items: center; font: 700 24px/1 var(--head); }
.n1 { background: var(--red); } .n2 { background: var(--orange); } .n3 { background: var(--green); }
.step img { width: 160px; height: 160px; }
.step h3 { font-size: 26px; }
.step p, .feature p { margin: 0; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 20px; }
.feature { color: #fff; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.feature h3 { font-size: 26px; }
.fe1 { background: #006EB3; box-shadow: 0 6px 0 #004B83; }
.fe2 { background: #7B47BF; box-shadow: 0 6px 0 #6C44A4; }
.fe3 { background: #C52B30; box-shadow: 0 6px 0 #B02A2D; }
.fe4 { background: #007834; box-shadow: 0 6px 0 #006B2D; }

.parents { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.parents .art { display: flex; justify-content: center; }
.parents .art img { width: 260px; }
.parents-text { display: flex; flex-direction: column; gap: 18px; }
.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--link); }
.parents h2 { font-size: clamp(32px, 4vw, 44px); text-wrap: balance; }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.points li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; flex-shrink: 0; border-radius: 4px; transform: rotate(45deg); background: var(--dot, var(--red)); }
.points .p2 { --dot: var(--green); } .points .p3 { --dot: var(--blue); } .points .p4 { --dot: var(--purple); }

/* ---------- download ---------- */
.download { background: var(--party); position: relative; overflow: hidden; color: #fff; }
.download .grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.dl-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 560px; }
.dl-text { display: flex; flex-direction: column; gap: 22px; }
.dl-text h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1; text-wrap: balance; }
.dl-text .lead { max-width: 480px; }
.big-store { padding: 14px 26px; border-radius: 22px; flex-direction: row; align-items: center; gap: 14px; box-shadow: 0 6px 0 var(--ink-deep); }
.big-store .ic { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--ink); display: grid; place-items: center; font: 700 20px/1 var(--head); }
.big-store span { display: flex; flex-direction: column; line-height: 1.1; }
.big-store b { font-size: 24px; }
.devices { display: flex; gap: 10px; flex-wrap: wrap; }
.devices span { background: rgba(255,255,255,.9); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; display: flex; gap: 8px; align-items: center; }
.devices span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: var(--dot); }
.d1 { --dot: var(--blue); } .d2 { --dot: var(--green); } .d3 { --dot: var(--purple); }

.phone { width: 270px; height: 540px; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 18px 40px rgba(40,30,60,.28); transform: rotate(-4deg); }
.screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--sky); display: flex; flex-direction: column; padding: 30px 14px 14px; gap: 10px; color: var(--ink); }
.ph-top { display: flex; justify-content: space-between; align-items: center; }
.ph-top .back { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; }
.ph-top .lvl { background: #fff; border-radius: 999px; padding: 4px 12px; font: 600 14px/1.2 var(--head); }
.ph-top .stars { background: #fff; border-radius: 999px; padding: 4px 8px; font-weight: 800; font-size: 11px; }
.ph-words { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.ph-words div { display: flex; gap: 3px; }
.ph-words i { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font: normal 700 14px/1 var(--head); color: #fff;
  background: rgba(255,255,255,.6); box-shadow: 0 2px 0 #85B9D8; }
.ph-words .r i { background: var(--red); box-shadow: 0 2px 0 var(--red-e); }
.ph-words .o i { background: var(--orange); box-shadow: 0 2px 0 var(--orange-e); }
.ph-words .g i { background: var(--green); box-shadow: 0 2px 0 var(--green-e); }
.ph-pick { align-self: center; background: #fff; border-radius: 10px; padding: 2px 12px; font: 700 18px/1.3 var(--head); letter-spacing: .08em; color: var(--teal); animation: pulse 1.2s ease-in-out infinite; }
.ph-wheel-wrap { flex: 1; display: grid; place-items: center; }
.ph-wheel { width: 160px; height: 160px; border-radius: 50%; background: #fff; position: relative; box-shadow: 0 4px 0 var(--sky-edge); }
.ph-wheel b { position: absolute; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 700 22px/1 var(--head);
  background: #E2F1FA; box-shadow: 0 3px 0 #BCD1DF; color: var(--ink); }
.ph-wheel .on { background: var(--green); box-shadow: 0 3px 0 var(--green-e); color: #fff; }
.w1 { left: 59px; top: 5px; } .w2 { left: 110.4px; top: 42.3px; } .w3 { left: 90.7px; top: 102.7px; } .w4 { left: 27.3px; top: 102.7px; } .w5 { left: 7.6px; top: 42.3px; }
.ph-bottom { display: flex; justify-content: space-between; align-items: center; }
.ph-bottom .mix { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; }
.ph-bottom .hint { background: var(--green); color: #fff; border-radius: 12px; padding: 6px 12px; font: 700 14px/1.2 var(--head); box-shadow: 0 3px 0 var(--green-e); }
.dl-woo { position: absolute; right: max(0px, calc(50% - 250px)); bottom: 10px; width: 190px; }
.dl-bubble { position: absolute; right: max(0px, calc(50% - 250px)); top: -34px; background: #fff; border-radius: 20px; padding: 12px 16px; font-weight: 800; font-size: 16px;
  box-shadow: 0 4px 0 rgba(0,0,0,.12); animation: float 3s ease-in-out infinite; color: var(--ink); }

.confetti i { position: absolute; top: -20px; border-radius: 3px; animation: fall linear infinite; }
.confetti i:nth-child(5n+1) { background: #fff; } .confetti i:nth-child(5n+2) { background: var(--orange); }
.confetti i:nth-child(5n+3) { background: var(--green); } .confetti i:nth-child(5n+4) { background: var(--blue); } .confetti i:nth-child(5n) { background: var(--purple); }
.confetti i:nth-child(3n+1) { width: 10px; height: 10px; animation-duration: 5s; }
.confetti i:nth-child(3n+2) { width: 13px; height: 13px; animation-duration: 6s; }
.confetti i:nth-child(3n) { width: 16px; height: 16px; animation-duration: 7s; }
.c1 { left: 0; animation-delay: 0s; } .c2 { left: 37%; animation-delay: -.9s; } .c3 { left: 74%; animation-delay: -1.8s; } .c4 { left: 11%; animation-delay: -2.7s; }
.c5 { left: 48%; animation-delay: -3.6s; } .c6 { left: 85%; animation-delay: -4.5s; } .c7 { left: 22%; animation-delay: -5.4s; } .c8 { left: 59%; animation-delay: -.3s; }
.c9 { left: 96%; animation-delay: -1.2s; } .c10 { left: 33%; animation-delay: -2.1s; } .c11 { left: 70%; animation-delay: -3s; } .c12 { left: 7%; animation-delay: -3.9s; }
.c13 { left: 44%; animation-delay: -4.8s; } .c14 { left: 81%; animation-delay: -5.7s; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #fff; }
.foot .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: #fff; }

/* ---------- simple pages (privacy, 404) ---------- */
.page-head { padding: 40px 0 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.page-head img { width: 150px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.page-head p { margin: 0; color: #414F5D; }
.doc { max-width: 760px; margin: 0 auto; padding: 0 24px 64px; display: flex; flex-direction: column; gap: 16px; }
.card { background: #fff; border-radius: 24px; padding: 22px 26px; box-shadow: 0 5px 0 var(--cream-edge); font-weight: 500; }
.card h2 { font-size: 24px; margin-bottom: 6px; }
.card p { margin: 8px 0; }
.card ul { padding-left: 1.2em; margin: 8px 0; }
.card li { margin: 4px 0; }
.btn-big { display: inline-block; background: var(--green); color: #fff; padding: 14px 28px; border-radius: 20px; box-shadow: 0 6px 0 var(--green-e); font: 700 22px/1 var(--head); }

/* ---------- motion ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-8deg); } 50% { transform: translate(6px, -14px) rotate(8deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes fall { 0% { transform: translateY(-40px) rotate(0); } 100% { transform: translateY(760px) rotate(540deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; } }

@media (max-width: 520px) {
  .top nav a:not(.btn-green) { display: none; }
  .hero-art { min-height: 340px; }
  .hero-art .woo-big { width: 260px; }
  .floater div { width: 44px; height: 48px; font-size: 26px; }
  .dl-art { min-height: 520px; }
  .dl-woo { width: 140px; }
}

/* long licence notices on the terms page */
.legal { font-size: 12px; line-height: 1.5; opacity: .75; word-break: break-word; }
