/* Candy Lanes - site styles. Palette from the game's Sunny Pop theme: sky blue, meadow green, biscuit road, candy accents. */
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-latin.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
:root {
  --sky: #1fa0ff; --sky-dark: #0b6fc4; --grass: #3fbf4f; --grass-dark: #2a8f3a; --road: #ffb26b;
  --gum: #ff5a5f; --sun: #ffc93c; --ink: #1f2340; --muted: #5d6385; --cloud: #f4faff; --line: #dbe9f7;
  --radius: 20px; --shadow: 0 1px 0 rgba(31,35,64,.05), 0 14px 34px -14px rgba(11,111,196,.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif; color: var(--ink);
  background: var(--cloud); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-dark); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .4em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--gum); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav { display: flex; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { color: var(--sky-dark); }
@media (max-width: 640px) { .nav a.hide-sm { display: none; } .nav { gap: 16px; } }

.hero { background: linear-gradient(180deg, #4fb8ff 0%, #bfe8ff 62%, #8fe08f 62%, #5fd36a 100%); padding: 56px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { color: #fff; text-shadow: 0 3px 0 var(--sky-dark); }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero .lead { color: #0d3a66; }
.hero .eyebrow { color: #fff; opacity: .9; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { background: linear-gradient(180deg, #4fb8ff, #bfe8ff 55%, #8fe08f 55%, #5fd36a); } }
.phone { width: min(300px, 80vw); margin-inline: auto; border: 10px solid #fff; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow); background: #fff; transform: rotate(2deg); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; border-radius: 14px; padding: 9px 18px 9px 14px; text-decoration: none; }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store span { display: flex; flex-direction: column; font-weight: 600; font-size: 1.05rem; line-height: 1.1; }
.store small { font-size: .7rem; font-weight: 400; opacity: .8; }
.store.soon { opacity: .85; }
.note { color: #0d3a66; font-size: .95rem; }
.facts { display: flex; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.facts div { background: rgba(255,255,255,.85); border-radius: 16px; padding: 10px 16px; min-width: 110px; }
.facts b { display: block; font-size: 1.6rem; color: var(--gum); }
.facts span { font-size: .85rem; color: var(--muted); }

section { padding: 64px 0; }
section.alt { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--cloud); border-radius: var(--radius); padding: 20px; border: 1px solid var(--line); }
.step .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
.critters { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 24px; }
.critter { background: #fff; border-radius: var(--radius); padding: 16px 18px; border: 1px solid var(--line); }
.critter > b { display: block; font-size: 1.1rem; }
.critter span { color: var(--muted); font-size: .95rem; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 860px) { .shots { grid-template-columns: 1fr 1fr; } }
.shots img { border-radius: 22px; border: 6px solid #fff; box-shadow: var(--shadow); }

.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 18px 0; }
footer { background: var(--ink); color: #c9cde8; padding: 28px 0; font-size: .95rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: #fff; margin-left: 16px; text-decoration: none; }
