/* Pickles! — site styles. Mobile first, light + dark. */
:root {
  --ink: #241a3d;
  --ink-2: #4a3f66;
  --cream: #fff7e8;
  --paper: #fffdf8;
  --mint: #7fe0bd;
  --mint-2: #4cc79b;
  --leaf: #2f9e6f;
  --leaf-d: #1f7a53;
  --sun: #ffd04a;
  --sun-2: #ffb627;
  --orange: #ff8a3d;
  --berry: #ff5d73;
  --sky: #4b9ad5;
  --night: #140b2e;
  --bg: var(--cream);
  --fg: var(--ink);
  --muted: #5b5075;
  --card: #ffffff;
  --line: var(--ink);
  --shadow: var(--ink);
  --r: 22px;
  --font: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Arial Rounded MT Bold", "Nunito", "Varela Round", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Apple SD Gothic Neo", "Noto Sans", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1233;
    --fg: #fff4e2;
    --muted: #cbbfe6;
    --card: #261c48;
    --line: #0b0620;
    --shadow: #0b0620;
  }
}
:lang(ja), :lang(ko), :lang(zh-Hans) { --font: ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", "PingFang SC", "Apple SD Gothic Neo", "Noto Sans CJK JP", "Noto Sans CJK KR", "Noto Sans CJK SC", "Microsoft YaHei", "Malgun Gothic", system-ui, sans-serif; }
:lang(zh-Hans) { --font: ui-rounded, "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif; }
:lang(ja) { word-break: auto-phrase; }
:lang(ko) { --font: ui-rounded, "Apple SD Gothic Neo", "Noto Sans CJK KR", "Malgun Gothic", system-ui, sans-serif; word-break: keep-all; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--fg); background: var(--bg); line-height: 1.55; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf-d); text-underline-offset: 3px; text-decoration-thickness: 2px; }
@media (prefers-color-scheme: dark) { a { color: var(--mint); } }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(30px, 6.2vw, 50px); font-weight: 900; }
h3 { font-size: 21px; font-weight: 850; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 12px; font-weight: 800; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
svg { width: 1em; height: 1em; flex: none; }
.eyebrow { display: inline-block; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--ink); background: var(--mint); border: 2.5px solid var(--ink); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; box-shadow: 0 3px 0 var(--ink); }
:lang(ja) .eyebrow, :lang(ko) .eyebrow, :lang(zh-Hans) .eyebrow { letter-spacing: .02em; }
.sub { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 46ch; }
.fine { font-size: 14px; opacity: .85; margin: 10px 0 0; }

/* ---------- top bar ---------- */
.topbar { position: fixed; inset: 10px 0 auto; z-index: 50; pointer-events: none; }
.bar { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 8px; background: rgb(255 253 248 / .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border: 2.5px solid var(--ink); border-radius: 20px; box-shadow: 0 4px 0 var(--ink); color: var(--ink); }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 20px; margin-right: auto; }
.brand img { width: 38px; height: 38px; border-radius: 11px; border: 2px solid var(--ink); }
.links { display: none; gap: 2px; }
.links a { color: var(--ink); text-decoration: none; font-weight: 800; font-size: 15px; padding: 8px 12px; border-radius: 12px; }
.links a:hover, .links a[aria-current] { background: var(--mint); }
@media (min-width: 900px) { .links { display: flex; } }
.sub-page .links { display: flex; }
@media (max-width: 560px) { .lang-top summary span { display: none; } .lang-top summary { padding: 8px 10px; } .links { min-width: 0; overflow-x: auto; scrollbar-width: none; } .sub-page .links a:first-child, .sub-page .links a[aria-current] { display: none; } .sub-page .links a { padding: 8px 8px; font-size: 14px; } .brand span { display: none; } }

/* language picker */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 7px; font-weight: 850; font-size: 15px; padding: 8px 12px; border-radius: 13px; background: var(--sun); border: 2.5px solid var(--ink); box-shadow: 0 3px 0 var(--ink); color: var(--ink); user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 7px; height: 7px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.lang[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.lang summary svg { width: 18px; height: 18px; }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; list-style: none; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink); min-width: 190px; display: grid; gap: 2px; z-index: 60; }
.lang li a { display: block; padding: 9px 14px; border-radius: 11px; color: var(--ink); text-decoration: none; font-weight: 750; }
.lang li a:hover { background: var(--cream); }
.lang li a[aria-current] { background: var(--mint); }
.lang li a[aria-current]::after { content: " ✓"; }

/* ---------- buttons ---------- */
.store { display: inline-flex; align-items: center; gap: 11px; background: #000; color: #fff; text-decoration: none; padding: 11px 22px 11px 18px; border-radius: 16px; border: 2.5px solid #000; box-shadow: 0 5px 0 rgb(0 0 0 / .35), 0 10px 26px rgb(0 0 0 / .18); transition: transform .15s, box-shadow .15s; }
.store svg { width: 30px; height: 36px; }
.store span { display: grid; line-height: 1.05; text-align: left; }
.store small { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; }
.store b { font-size: 25px; font-weight: 700; letter-spacing: -.02em; font-family: -apple-system, system-ui, sans-serif; }
:lang(ja) .store b, :lang(ko) .store b, :lang(zh-Hans) .store b { font-size: 21px; }
.store:hover { transform: translateY(-2px); }
.store:active { transform: translateY(3px); box-shadow: 0 2px 0 rgb(0 0 0 / .35); }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--sun); color: var(--ink); text-decoration: none; font-weight: 900; font-size: 18px; padding: 13px 22px; border-radius: 16px; border: 2.5px solid var(--ink); box-shadow: 0 5px 0 var(--ink); transition: transform .15s; overflow-wrap: anywhere; }
.btn svg { width: 24px; height: 24px; }
.btn:hover { transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: linear-gradient(#3a8bcf, #4c9bd8 50%, #5fa7e1); padding-top: 92px; overflow: hidden; display: flex; flex-direction: column; }
.hero-art { order: 2; }
.hero-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); margin-top: -4%; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 8px; }
.kicker { font-weight: 850; font-size: 15px; letter-spacing: .02em; margin: 0 0 10px; display: inline-block; background: rgb(20 11 46 / .35); padding: 6px 14px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.logo { display: flex; align-items: center; gap: 14px; margin: 0; font-size: clamp(52px, 13vw, 112px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.logo img { width: clamp(64px, 13vw, 104px); height: auto; border-radius: 24%; border: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transform: rotate(-6deg); }
.logo span { color: var(--mint); -webkit-text-stroke: .075em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); }
.tagline { font-size: clamp(26px, 5.4vw, 46px); font-weight: 900; margin: 14px 0 8px; text-shadow: 0 3px 0 rgb(20 11 46 / .55); line-height: 1.1; }
.lead { font-size: clamp(17px, 2.1vw, 20px); max-width: 34em; font-weight: 600; text-shadow: 0 1px 10px rgb(20 11 46 / .45); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.hero .fine { font-weight: 800; text-shadow: 0 1px 6px rgb(20 11 46 / .5); margin: 0; }
@media (min-width: 1180px) {
  .hero { min-height: max(700px, min(100vh, 56.25vw)); padding-top: 0; display: grid; flex-direction: unset; align-items: start; background: #3a8bcf; }
  .hero-art { position: absolute; inset: 0; z-index: -1; }
  .hero-art img { height: 100%; margin: 0; -webkit-mask-image: none; mask-image: none; object-position: 50% 70%; }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgb(18 44 92 / .78), rgb(18 44 92 / .5) 34%, transparent 58%), radial-gradient(100% 75% at 0% 0%, rgb(26 70 130 / .6), transparent 70%); }
  .hero-copy p, .hero-copy h2, .hero-copy .lead { text-shadow: 0 2px 10px rgb(10 20 50 / .65); }
  .hero-copy { padding: clamp(128px, 15vh, 160px) 0 0; }
  .hero-copy > * { max-width: 560px; }
  .logo { font-size: clamp(64px, 6.4vw, 100px); }
  .logo img { width: clamp(64px, 6vw, 92px); }
  .tagline { font-size: clamp(30px, 2.9vw, 42px); margin-top: 10px; }
  .lead { font-size: 18px; margin-bottom: 0; }
}
/* ---------- stats band ---------- */
.stats { position: relative; background: var(--leaf); color: #fff; padding: 34px 0 30px; margin-top: -2px; }
.stats::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 28px; background: radial-gradient(28px 26px at 28px 26px, var(--leaf) 98%, transparent) 0 0 / 56px 28px repeat-x; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; text-align: center; }
@media (min-width: 760px) { .stats ul { grid-template-columns: repeat(6, 1fr); } }
.stats b { display: block; font-size: clamp(40px, 7vw, 58px); font-weight: 900; line-height: 1; color: var(--sun); -webkit-text-stroke: .07em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); }
.stats span { font-weight: 800; font-size: 15px; display: block; margin-top: 6px; line-height: 1.2; }
.walker { position: absolute; top: -116px; left: 0; width: 100%; height: 120px; pointer-events: none; overflow: hidden; }
.walker .clem { animation: walk 26s linear infinite; }
@keyframes walk { from { left: -80px; } to { left: 100%; } }
@keyframes bob { from { transform: translateY(0) rotate(-3deg); } to { transform: translateY(-5px) rotate(3deg); } }

/* ---------- how ---------- */
section { position: relative; }
.how { padding: 90px 0 40px; text-align: center; }
.how .sub { margin-inline: auto; }
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; text-align: left; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { background: var(--card); border: 3px solid var(--line); border-radius: var(--r); padding: 26px 24px 20px; box-shadow: 0 6px 0 var(--shadow); position: relative; }
.steps b { position: absolute; top: -20px; left: 20px; width: 44px; height: 44px; display: grid; place-items: center; font-size: 24px; font-weight: 900; background: var(--sun); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; transform: rotate(-6deg); box-shadow: 0 3px 0 var(--ink); }
.steps li:nth-child(2) b { background: var(--mint); transform: rotate(5deg); }
.steps li:nth-child(3) b { background: var(--berry); color: #fff; }
.steps h3 { margin-top: 10px; }
.steps p { color: var(--muted); margin: 0; }
.skills { margin-top: 56px; }
.skills h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.skills ul { list-style: none; padding: 0; margin: 18px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 10px; max-width: 900px; }
.chip span { display: inline-block; font-weight: 900; font-size: 16px; color: #fff; padding: 10px 16px; border-radius: 16px; background: var(--c); border: 3px solid var(--ink); box-shadow: inset 0 -5px 0 rgb(0 0 0 / .18), inset 0 3px 0 rgb(255 255 255 / .3), 0 4px 0 var(--ink); text-shadow: 0 2px 0 rgb(0 0 0 / .28); transition: transform .15s; }
.chip:hover span { transform: translateY(-3px) rotate(-2deg); }
.c-stop { --c: #ef4f55; } .c-bridge { --c: #f58a3a; } .c-dig { --c: #a8744a; } .c-drill { --c: #6f82b0; } .c-pickaxe { --c: #8a6a5a; }
.c-bomb { --c: #ff6a2b; } .c-spring { --c: #e9a700; } .c-umbrella { --c: #3d9be0; } .c-suction { --c: #a466e6; } .c-float { --c: #ff7a6b; }
.c-diver { --c: #2b8fc7; } .c-legup { --c: #8b6fd0; } .c-hop { --c: #22a884; }

/* ---------- features ---------- */
.features { padding: 50px 0 40px; display: grid; gap: 80px; }
.feat { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .feat { grid-template-columns: 1.25fr 1fr; gap: 56px; }
  .feat.flip > :first-child { order: 2; }
}
.feat-copy p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
.device { margin: 0; padding: 10px; background: #15102a; border-radius: 34px; border: 3px solid var(--ink); box-shadow: 0 8px 0 var(--ink), 0 30px 60px -20px rgb(36 26 61 / .45); }
.device img { border-radius: 24px; width: 100%; aspect-ratio: 2.174; object-fit: cover; }
.stack { position: relative; padding-bottom: 30px; }
.sticker { position: absolute; width: 38%; max-width: 230px; right: -6px; bottom: -14px; border-radius: 50%; border: 4px solid var(--ink); box-shadow: 0 6px 0 var(--ink); transform: rotate(6deg); aspect-ratio: 1; object-fit: cover; background: var(--card); }
.flip .sticker { right: auto; left: -6px; transform: rotate(-6deg); }
.minis { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mini { background: var(--card); border: 3px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: 0 6px 0 var(--shadow); }
.mini i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--mint); color: var(--ink); border: 2.5px solid var(--ink); margin-bottom: 12px; }
.mini:nth-child(2) i { background: var(--sun); } .mini:nth-child(3) i { background: #ffb3c0; } .mini:nth-child(4) i { background: #b9dcff; }
.mini i svg { width: 26px; height: 26px; }
.mini h3 { font-size: 19px; }
.mini p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- checks ---------- */
.checks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 650; font-size: 17px; }
.checks svg { width: 26px; height: 26px; padding: 4px; background: var(--leaf); color: #fff; border-radius: 50%; border: 2px solid var(--ink); margin-top: 1px; }

/* ---------- daily ---------- */
.daily { margin-top: 70px; padding: 90px 0; color: var(--ink); background:
  repeating-conic-gradient(from 0deg at 18% 40%, rgb(255 255 255 / .16) 0 7deg, transparent 7deg 18deg), linear-gradient(160deg, #ffd85c, #ffb03b 70%, #ff9a4a); }
.daily::before, .infinite::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: var(--bg); clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%); }
.daily-grid, .inf-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .daily-grid, .inf-grid { grid-template-columns: 1fr 1fr; gap: 60px; } }
.daily-art { position: relative; }
.daily-art > img, .inf-art img { border-radius: 30px; border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); transform: rotate(-1.5deg); }
.today { position: absolute; top: -18px; right: -6px; width: 104px; text-align: center; background: #fff; border: 3.5px solid var(--ink); border-radius: 20px; box-shadow: 0 6px 0 var(--ink); overflow: hidden; transform: rotate(7deg); }
.today span { display: block; background: var(--berry); color: #fff; font-weight: 900; font-size: 15px; padding: 5px 4px; text-transform: uppercase; letter-spacing: .05em; border-bottom: 3px solid var(--ink); min-height: 32px; }
.today b { display: block; font-size: 50px; line-height: 1.2; font-weight: 900; min-height: 60px; }
.daily .sub { color: #4a3416; }
.daily .eyebrow { background: #fff; }
.daily h2 { color: var(--ink); }
.daily .checks li { color: var(--ink); }
.pill { display: inline-flex; gap: 10px; align-items: center; background: var(--ink); color: var(--sun); font-weight: 850; padding: 10px 18px; border-radius: 999px; margin: 6px 0 0; }
.pill svg { width: 20px; height: 20px; }

/* ---------- infinite ---------- */
.infinite { padding: 100px 0 110px; color: #f6efff; background:
  radial-gradient(1.5px 1.5px at 20px 30px, #fff 50%, transparent), radial-gradient(1px 1px at 90px 70px, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 160px 120px, #ffe9a8 50%, transparent), radial-gradient(1px 1px at 50px 150px, #fff 50%, transparent),
  radial-gradient(80% 60% at 80% 30%, #4b2a96, transparent), linear-gradient(#1d0d4a, #140b2e); background-size: 200px 180px, 200px 180px, 200px 180px, 200px 180px, auto, auto; }
.infinite::after { top: auto; bottom: -1px; clip-path: polygon(0 100%, 100% 0, 100% 100%); background: var(--bg); }
.infinite .eyebrow { background: #c9b5ff; }
.infinite .sub { color: #d9ccf5; }
.inf-sym { display: inline-block; color: var(--mint); -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; font-size: 1.15em; line-height: .8; vertical-align: -.05em; }
.infinite .checks svg { background: #8a63ff; border-color: #0b0620; }
.inf-art img { transform: rotate(1.5deg); border-color: #0b0620; box-shadow: 0 8px 0 #0b0620, 0 0 80px rgb(160 120 255 / .45); }
.track { list-style: none; display: flex; align-items: flex-end; gap: 6px; padding: 0; margin: 26px 0 0; }
.track li { flex: 1; display: grid; justify-items: center; gap: 6px; }
.track span { width: 100%; max-width: 40px; aspect-ratio: 1; display: grid; place-items: center; font-weight: 900; font-size: 14px; border-radius: 12px; background: #2d1d63; border: 2.5px solid #0b0620; color: #d9ccf5; }
.track .boss span { background: var(--berry); color: #fff; box-shadow: 0 0 22px rgb(255 93 115 / .7); }
.track img { width: 40px; height: auto; animation: bob 1s ease-in-out infinite alternate; }

/* ---------- worlds ---------- */
.worlds { padding: 90px 0 40px; text-align: center; }
.worlds .sub { margin-inline: auto; }
.map { margin: 34px auto 0; }
.map img { border-radius: 30px; border: 4px solid var(--line); box-shadow: 0 8px 0 var(--shadow); width: 100%; }
.world-row { list-style: none; margin: 28px 0 0; padding: 12px max(20px, calc((100% - 1160px) / 2)) 22px; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.world { flex: 0 0 clamp(220px, 32vw, 300px); scroll-snap-align: center; position: relative; border-radius: 20px; overflow: hidden; border: 3px solid var(--line); box-shadow: 0 5px 0 var(--shadow); aspect-ratio: 16 / 10; background: var(--card); }
.world img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.world:hover img { transform: scale(1.06); }
.world span { position: absolute; left: 10px; bottom: 10px; background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 12px; padding: 3px 12px; font-weight: 900; box-shadow: 0 3px 0 var(--ink); }
.world.more { display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--mint) 0 18px, #9be8cb 18px 36px); }
.world.more span { position: static; }
.guards { margin-top: 56px; }
.guards h3 { font-size: clamp(24px, 4vw, 32px); font-weight: 900; }
.guards p { color: var(--muted); }
.guards ul { list-style: none; padding: 18px 0 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 14px; }
.guards li { display: grid; justify-items: center; align-content: end; gap: 8px; background: linear-gradient(transparent 62%, #e8c99a 62%, #d9b27a); border: 3px solid var(--line); border-radius: 20px; padding: 14px 8px 10px; box-shadow: 0 5px 0 var(--shadow); background-color: #cfeaff; }
@media (prefers-color-scheme: dark) { .guards li { background-color: #2e2560; background-image: linear-gradient(transparent 62%, #6b4e33 62%, #5a3f28); } }
.guards img { height: 84px; width: auto; object-fit: contain; filter: drop-shadow(0 4px 2px rgb(0 0 0 / .2)); transition: transform .25s; }
.guards li:hover img { transform: translateY(-6px) scale(1.06); }
.guards span { font-weight: 900; font-size: 14px; background: var(--paper); color: var(--ink); padding: 2px 10px; border-radius: 10px; border: 2px solid var(--ink); }

/* ---------- price ---------- */
.price { padding: 80px 0 40px; text-align: center; }
.price-grid { display: grid; gap: 22px; margin-top: 30px; text-align: left; }
@media (min-width: 800px) { .price-grid { grid-template-columns: 1fr 1fr; max-width: 900px; margin-inline: auto; } }
.plan { border: 3px solid var(--ink); border-radius: 26px; padding: 28px; box-shadow: 0 7px 0 var(--ink); color: var(--ink); }
.plan.free { background: var(--mint); }
.plan.full { background: var(--sun); position: relative; }
.plan h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }
.plan .big { font-size: clamp(36px, 6vw, 50px); font-weight: 900; line-height: 1; margin: 8px 0 14px; }
.plan .checks li { color: var(--ink); }
.plan .fine { color: var(--ink); }
.promises { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.promises li { display: inline-flex; align-items: center; gap: 8px; font-weight: 850; padding: 9px 16px; border-radius: 999px; background: var(--card); border: 2.5px solid var(--line); box-shadow: 0 3px 0 var(--shadow); }
.promises svg { width: 20px; height: 20px; color: var(--leaf); }
@media (prefers-color-scheme: dark) { .promises svg { color: var(--mint); } }

/* ---------- faq ---------- */
.faq { padding: 60px 0; max-width: 820px; }
.faq h2 { text-align: center; }
.qa { display: grid; gap: 12px; margin-top: 24px; }
.qa details { background: var(--card); border: 3px solid var(--line); border-radius: 18px; box-shadow: 0 4px 0 var(--shadow); }
.qa summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 850; font-size: 18px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--mint); color: var(--ink); font-weight: 900; border: 2px solid var(--ink); }
.qa details[open] summary::after { content: "–"; background: var(--sun); }
.qa details div { padding: 0 20px 18px; color: var(--muted); }

/* ---------- final ---------- */
.final { padding: 40px 0 90px; }
.final-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; background: linear-gradient(160deg, #8fe3c3, #4cc79b); border: 4px solid var(--ink); border-radius: 36px; padding: 40px 24px 44px; box-shadow: 0 9px 0 var(--ink); color: var(--ink); }
.final-in img { width: 76px; animation: bob 1.1s ease-in-out infinite alternate; }
.final-in p { font-size: 19px; font-weight: 700; }
@media (min-width: 760px) { .final-in { flex-direction: row; justify-content: center; text-align: left; gap: 34px; } .final-in img { width: 96px; } }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: #eae2ff; padding: 0 0 26px; position: relative; margin-top: 70px; }
@media (prefers-color-scheme: dark) { .foot { background: #0d0721; } }
.march { position: absolute; top: -98px; left: 0; right: 0; height: 100px; overflow: hidden; pointer-events: none; }
.march .clem { animation: walk 32s linear infinite; transform: scale(.85); transform-origin: 50% 100%; }
.march .clem:nth-child(2) { animation-delay: -1.5s; } .march .clem:nth-child(2) img, .march .clem:nth-child(2) .ft { animation-delay: -.2s; }
.march .clem:nth-child(3) { animation-delay: -3s; } .march .clem:nth-child(3) img, .march .clem:nth-child(3) .ft { animation-delay: -.45s; }
.foot-grid { display: grid; gap: 28px; padding-top: 42px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.1fr 1fr 1.3fr; } }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { border-radius: 14px; border: 2px solid #000; }
.foot-brand b { display: block; font-size: 22px; color: var(--mint); }
.foot-brand span { font-size: 15px; opacity: .8; }
.foot-links { display: grid; gap: 6px; align-content: start; }
.foot a { color: #fff; text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--sun); text-decoration: underline; }
.foot-langs span { display: flex; align-items: center; gap: 8px; font-weight: 900; color: var(--sun); }
.foot-langs p { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.foot-langs a { padding: 5px 11px; border-radius: 10px; background: rgb(255 255 255 / .08); font-size: 15px; }
.foot-langs a[aria-current] { background: var(--mint); color: var(--ink); }
.legal { font-size: 12.5px; opacity: .65; margin-top: 30px; }

/* ---------- sub pages ---------- */
.page-head { background: linear-gradient(170deg, #4b9ad5, #7cc2ee 70%, #b9e3ff); color: var(--ink); padding: 120px 0 70px; position: relative; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 30px; background: radial-gradient(30px 30px at 30px 30px, var(--bg) 98%, transparent) 0 0 / 60px 30px repeat-x; }
.page-head h1 { font-size: clamp(42px, 9vw, 76px); font-weight: 900; color: #fff; -webkit-text-stroke: .07em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); }
.page-head .lead { color: var(--ink); text-shadow: none; font-weight: 700; max-width: 36em; font-size: 19px; }
.page-head .fine { color: var(--ink); }
.page-head .eyebrow { background: var(--sun); }
.ph-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 820px) { .ph-grid { grid-template-columns: 1.4fr 1fr; } }
.ph-art { border-radius: 50%; border: 4px solid var(--ink); box-shadow: 0 8px 0 var(--ink); max-width: 340px; justify-self: center; aspect-ratio: 1; object-fit: cover; }
.page-head.slim { padding-bottom: 60px; }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); padding: 50px 0 30px; }
.card { background: var(--card); border: 3px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: 0 6px 0 var(--shadow); }
.card i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; border: 2.5px solid var(--ink); background: var(--mint); color: var(--ink); margin-bottom: 14px; }
.card:nth-child(2) i { background: var(--sun); } .card:nth-child(3) i { background: #b9dcff; } .card:nth-child(4) i { background: #ffb3c0; } .card:nth-child(5) i { background: #ffd3a1; } .card:nth-child(6) i { background: #d9c8ff; }
.card i svg { width: 26px; height: 26px; }
.card h2 { font-size: 22px; font-weight: 900; }
.card p { margin: 0; color: var(--muted); }
.card b { color: var(--fg); }
.center { text-align: center; } .small { font-size: 16px; color: var(--muted); }
.prose { max-width: 760px; padding: 40px 0 20px; }
.prose section { background: var(--card); border: 3px solid var(--line); border-radius: var(--r); padding: 22px 26px 8px; box-shadow: 0 5px 0 var(--shadow); margin-bottom: 20px; }
.prose h2 { font-size: 24px; font-weight: 900; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--leaf); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .walker .clem { left: 8%; } .march .clem { left: 10%; } .march .clem:nth-child(2) { left: 16%; } .march .clem:nth-child(3) { left: 22%; }
}

/* ---------- today's challenge, live ---------- */
.live { position: relative; z-index: 3; margin-top: 46px; }
.live-card { display: grid; gap: 22px; padding: clamp(22px, 4vw, 40px); border-radius: 32px; border: 4px solid var(--ink); box-shadow: 0 10px 0 var(--ink);
  color: #fff; background: radial-gradient(120% 140% at 0% 0%, #ff9a3d 0%, #ff6a5b 38%, #7a3fd1 100%); overflow: hidden; position: relative; }
.live-card::after { content: ""; position: absolute; inset: auto -60px -80px auto; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgb(255 208 74 / .45), transparent 70%); pointer-events: none; }
@media (min-width: 900px) { .live-card { grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; } }
.live-kicker { margin: 0 0 6px; font-weight: 900; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.live-kicker i, .today-pill i { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgb(255 255 255 / .8); animation: pulse 1.6s ease-out infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(255 255 255 / .8); } 100% { box-shadow: 0 0 0 12px rgb(255 255 255 / 0); } }
.live-label { margin: 0; font-weight: 800; opacity: .9; }
.live-title { margin: 4px 0 8px; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; font-weight: 900; color: #fff; -webkit-text-stroke: .06em var(--ink); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--ink); }
.live-intro { margin: 0 0 6px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 800; }
.live-same { margin: 0 0 18px; opacity: .88; font-weight: 600; }
.live-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.live-how { color: #fff; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.live-side { display: grid; gap: 14px; position: relative; z-index: 1; }
.live-clock, .live-board { background: rgb(20 11 46 / .55); border: 3px solid rgb(255 255 255 / .25); border-radius: 22px; padding: 16px 18px; backdrop-filter: blur(4px); }
.live-clock p, .live-board p { margin: 0; font-weight: 900; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.live-clock b { display: block; font-size: clamp(40px, 6vw, 56px); font-weight: 900; font-variant-numeric: tabular-nums; color: var(--sun); line-height: 1.1; }
.live-clock small { opacity: .85; font-weight: 600; }
.live-board ol { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: r; }
.live-board li { counter-increment: r; display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-weight: 800; border-bottom: 1px dashed rgb(255 255 255 / .2); }
.live-board li:last-child { border-bottom: 0; }
.live-board li::before { content: counter(r); width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 14px; flex: none; }
.live-board li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-board li.empty::before { display: none; }
.live-board li.empty { font-weight: 600; opacity: .9; }
.live-board p span { text-transform: none; letter-spacing: 0; font-weight: 700; opacity: .8; }
.today-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 16px; border-radius: 999px; background: var(--berry); color: #fff; font-weight: 800; text-decoration: none; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); max-width: 100%; }
.today-pill b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.today-pill[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .live-kicker i, .today-pill i { animation: none; } }

/* ---------- a happy walking Pickle: bouncing body, feet stepping in turn ---------- */
.clem { position: absolute; bottom: 0; width: 40px; height: 100px; }
.clem img { position: absolute; left: 5px; bottom: 9px; width: 30px; height: auto; transform-origin: 50% 100%; animation: hop .3s ease-in-out infinite alternate; z-index: 1; }
.clem .ft { position: absolute; bottom: 1px; width: 15px; height: 9px; border-radius: 55% 65% 45% 45%;
  background: radial-gradient(circle at 38% 30%, #ffc27a, #f5841f 58%, #c95b0c); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .15); animation: step .6s linear infinite; }
.clem .ft.a { left: 6px; }
.clem .ft.b { left: 19px; animation-delay: -.3s; z-index: 2; }
@keyframes hop { from { transform: translateY(0) rotate(-3deg) scale(1.03, .97); } to { transform: translateY(-7px) rotate(3deg) scale(.98, 1.02); } }
@keyframes step {
  0%   { transform: translate(-7px, 0) rotate(-4deg); }
  25%  { transform: translate(0, -7px) rotate(14deg); }
  50%  { transform: translate(7px, 0) rotate(0); }
  100% { transform: translate(-7px, 0) rotate(-4deg); }
}
@media (prefers-reduced-motion: reduce) { .clem, .clem img, .clem .ft { animation: none !important; } }
