/* MealBear website. Plain CSS, no build step. Colours match the App Store panels. */
:root {
  --honey: #FFC93C;
  --sun: #FFB01F;
  --green: #34A55F;
  --orange: #F6672D;
  --purple: #7F5CE6;
  --blue: #2662D2;
  --jam: #D9365D;
  --teal: #11A197;
  --ube: #5E37C7;
  --night: #241A40;
  --sky: #9FD3F0;
  --cream: #FFF6E6;
  --ink: #2A1A1A;
  --white: #FFFFFF;
  --display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 28px;
  --shadow: 0 6px 0 rgba(42, 26, 26, .9);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 2; }
.narrow-wrap { max-width: 820px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.narrow { max-width: 640px; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.02em;
  margin: 0 0 .3em;
  color: var(--ink);
}
.display.light { color: #fff; text-shadow: 0 4px 0 rgba(42, 26, 26, .55); }
h1.display { font-size: clamp(52px, 8.4vw, 112px); }
.hl { color: var(--orange); }
.lede { font-size: clamp(18px, 2vw, 23px); line-height: 1.45; margin: 0 0 1.2em; max-width: 34em; }
.lede.light, .light { color: #fff; }
.lede.center { margin-left: auto; margin-right: auto; }
.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; margin: 0 0 14px; opacity: .85; }
.tiny { font-size: 15px; opacity: .8; margin: 14px 0 0; }
.fine { font-size: 14px; opacity: .85; max-width: 46em; margin: 28px auto 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: 20px;
  padding: 16px 28px; border-radius: 999px; border: 3px solid var(--ink);
  background: #fff; color: var(--ink); text-decoration: none; cursor: pointer;
  box-shadow: 0 5px 0 var(--ink); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 5px 0 rgba(42, 26, 26, .35); }
.btn-ink:hover { box-shadow: 0 7px 0 rgba(42, 26, 26, .35); }
.btn-small { font-size: 16px; padding: 10px 18px; box-shadow: 0 3px 0 var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, .55); font-weight: 800; font-size: 16px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; z-index: 50; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(1140px, calc(100% - 24px));
  display: flex; align-items: center; gap: 18px;
  padding: 8px 10px 8px 12px; border-radius: 999px;
  background: rgba(255, 246, 230, .92); border: 3px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.nav-logo img:first-child { border-radius: 11px; }
.nav-word { width: 130px; height: auto; }
.nav-links { display: flex; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 800; }
.nav-links a:hover { color: var(--orange); }
.motion-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; padding: 6px; }
.motion-dot { width: 34px; height: 20px; border-radius: 20px; background: var(--green); position: relative; transition: background .2s; }
.motion-dot::after { content: ''; position: absolute; top: 3px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s; }
.still .motion-dot { background: #b9aba0; }
.still .motion-dot::after { left: 3px; }

/* ---------- panels ---------- */
.panel { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 150px) 0; background: var(--bg, var(--cream)); }
.panel.cream { background: var(--cream); }
.dots {
  position: absolute; inset: 0; z-index: 0; opacity: .22; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .9) 1.6px, transparent 1.8px);
  background-size: 26px 26px;
}
.sunburst {
  position: absolute; z-index: 0; left: 50%; top: 50%; width: 260vmax; height: 260vmax;
  margin: -130vmax 0 0 -130vmax; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .0) 0deg 9deg, rgba(255, 176, 31, .55) 9deg 18deg);
  animation: spin 90s linear infinite;
}
.sunburst.slow { animation-duration: 140s; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- hero ---------- */
.hero { min-height: 100vh; padding-top: 130px; padding-bottom: 80px; background: var(--honey); display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 3; }
.hero-stage { position: relative; height: min(78vh, 700px); min-height: 520px; }
.phone {
  position: relative; width: 300px; aspect-ratio: 600 / 1304; border-radius: 48px;
  background: #121212; padding: 10px; box-shadow: 0 30px 60px -20px rgba(42, 26, 26, .55), 0 0 0 2px #3b3b3b inset;
  transform: translate3d(0, var(--py, 0), 0) rotate(var(--rot, 0deg));
}
.phone > img, .phone > .demo { width: 100%; height: 100%; border-radius: 39px; object-fit: cover; object-position: top; overflow: hidden; }
.phone-hero { position: absolute; left: 50%; top: 50%; width: min(330px, 70vw); margin-left: calc(min(330px, 70vw) / -2); translate: 0 -50%; --rot: 4deg; }
.tilt-r { --rot: 4deg; }
.tilt-l { --rot: -4deg; }

.sticker {
  position: absolute; left: var(--x); top: var(--y); z-index: 4;
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.8vw, 22px); line-height: 1.1;
  padding: 12px 20px; border-radius: 999px; border: 3px solid var(--ink); white-space: nowrap;
  background: #fff; color: var(--ink); box-shadow: 0 5px 0 var(--ink);
  transform: translate3d(0, var(--py, 0), 0) rotate(var(--r, 0deg));
}
.s-pink { background: #EE4570; color: #fff; }
.s-honey { background: var(--honey); }
.s-ink { background: var(--ink); color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, .35); border-color: #fff; }

.floaters { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.food {
  position: absolute; left: var(--x); top: var(--y); width: var(--s, 60px); height: var(--s, 60px); z-index: 1;
  transform: translate3d(0, var(--py, 0), 0) rotate(var(--r, 0deg));
  filter: drop-shadow(0 6px 0 rgba(42, 26, 26, .25));
  pointer-events: none;
}
.food { animation: floaty 6s ease-in-out infinite; }
.food:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.food:nth-child(3n) { animation-duration: 8.5s; animation-delay: -4s; }
@keyframes floaty { 50% { translate: 0 -14px; } }
.spark { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 2.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes twinkle { 50% { transform: scale(.4) rotate(45deg); opacity: .5; } }

.live-bear { position: absolute; z-index: 5; pointer-events: auto; }
.live-bear svg { width: 100%; height: 100%; overflow: visible; display: block; }
.live-bear .bob { width: 100%; height: 100%; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes bob { 50% { transform: translateY(-4%) scaleY(1.015); } }
.hero-bear { width: min(260px, 46vw); aspect-ratio: 260 / 335; left: -14%; bottom: -4%; cursor: pointer; }
.hero-bear:focus-visible { outline: 4px dashed var(--ink); outline-offset: 6px; border-radius: 20px; }
.burst { position: absolute; z-index: 6; pointer-events: none; font-size: 26px; animation: burst 1s ease-out forwards; }
@keyframes burst { from { transform: translate(0, 0) scale(.4); opacity: 1; } to { transform: translate(var(--bx), var(--by)) scale(1.1) rotate(var(--br)); opacity: 0; } }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; width: 30px; height: 48px; margin-left: -15px; border: 3px solid var(--ink); border-radius: 20px; z-index: 3; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 6px; height: 10px; margin-left: -3px; border-radius: 3px; background: var(--ink); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(14px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--honey); overflow: hidden; border-block: 4px solid var(--ink); position: relative; z-index: 3; }
.marquee-track { display: flex; gap: 28px; width: max-content; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee-track b { color: #fff; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 120px 28px 30px; box-shadow: var(--shadow); text-align: center; }
.step h3 { font-family: var(--display); font-size: 26px; line-height: 1.1; margin: 0 0 10px; }
.step p { margin: 0; font-size: 17px; opacity: .85; }
.step-bear { width: 140px; height: 124px; left: 50%; top: -50px; margin-left: -70px; }
.step-n { position: absolute; top: 14px; left: 16px; width: 40px; height: 40px; border-radius: 50%; background: var(--honey); border: 3px solid var(--ink); font-family: var(--display); font-size: 20px; display: grid; place-items: center; }

/* ---------- feature panels ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.flip .feature-copy { order: 2; }
.feature-stage { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 36px; font-size: 18px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%232A1A1A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.corner-bear { width: 130px; height: 114px; left: var(--x); top: var(--y); }

/* ---------- ways ---------- */
.cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px auto 0; max-width: 1000px; }
.chip {
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.7vw, 21px);
  padding: 10px 18px; border-radius: 999px; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink);
  background: #fff; transform: rotate(var(--cr, 0deg)) translateY(var(--cy, 0)); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), opacity .4s;
}
.chip:nth-child(3n) { --cr: -3deg; } .chip:nth-child(4n) { --cr: 3deg; } .chip:nth-child(5n) { --cr: -1.5deg; }
.c1 { background: var(--honey); } .c2 { background: #fff; } .c3 { background: #FFD7C2; } .c4 { background: #CFE9FF; } .c5 { background: #E3D9FF; }
.chip-own { background: var(--ink); color: #fff; border-color: #fff; }
.cloud.pre .chip { opacity: 0; --cy: 30px; }
.chip:hover { --cy: -6px; }
.ways-bear { width: 190px; height: 245px; right: 3%; bottom: -30px; transform: translate3d(0, var(--py, 0), 0); }

/* ---------- app demos (drawn in HTML, styled like the app) ---------- */
.app-demo { --rot: 0deg; }
.demo { background: #F7F0E3; color: #2A1A1A; position: relative; font-family: -apple-system, 'Nunito', system-ui, sans-serif; font-weight: 600; font-size: 13px; padding: 0 14px; }
.demo-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 10px 6px 18px; font-weight: 800; font-size: 14px; }
.demo-bar i { width: 74px; height: 22px; border-radius: 20px; background: #121212; position: absolute; left: 50%; top: 10px; margin-left: -37px; }
.demo-head { display: flex; align-items: center; gap: 8px; margin: 10px 0 12px; }
.demo-head img { width: 46px; height: 40px; object-fit: contain; }
.demo-head b { font-family: var(--display); font-size: 24px; font-weight: 700; color: #6B3A16; }
.demo-card { background: #fff; border-radius: 18px; padding: 12px 14px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06); margin-bottom: 10px; }
.demo-card h4 { font-size: 16px; line-height: 1.2; margin: 2px 0 8px; font-weight: 800; }
.demo-kicker { font-size: 10px; letter-spacing: .1em; font-weight: 800; color: #3E8E5A; margin: 0; }
.demo-kicker.pad { margin: 14px 4px 6px; color: #8A6B55; }
.meta { margin: 0; font-size: 12px; color: #7A6658; }

.rule-row { display: flex; gap: 6px; margin-bottom: 10px; }
.rule { background: #EADCFF; color: #4B2BA8; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.ing { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ing li { position: relative; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #F6F1EA; min-height: 36px; transition: background .4s; }
.ing li span { transition: opacity .3s; }
.ing li[data-to]::after { content: attr(data-to); position: absolute; left: 10px; font-weight: 800; color: #2E7D4F; opacity: 0; transform: translateY(8px); transition: opacity .35s .2s, transform .35s .2s; }
.ing li.flag { background: #FFF1C9; }
.ing li.flag span { text-decoration: line-through; text-decoration-thickness: 2px; color: #B4552E; }
.ing li.fixed { background: #E2F5E8; }
.ing li.fixed span { opacity: 0; }
.ing li.fixed::after { opacity: 1; transform: none; }
.ing li.fixed::before { content: '✓'; position: absolute; right: 10px; color: #2E7D4F; font-weight: 900; }
.demo-toast { position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 30px) scale(.9); opacity: 0; transition: .45s cubic-bezier(.3, 1.6, .5, 1); background: #2A1A1A; color: #fff; font-weight: 800; padding: 8px 10px 8px 16px; border-radius: 999px; display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 14px; }
.demo-toast img { width: 34px; height: 30px; }
.demo-toast.on { opacity: 1; transform: translate(-50%, 0) scale(1); }

.wk { background: #fff; border-radius: 18px; padding: 10px 6px 12px; margin-bottom: 12px; }
.wk-days, .wk-row, .wk-pots { display: grid; grid-template-columns: repeat(7, 1fr); }
.wk-days span { text-align: center; font-size: 9px; letter-spacing: .06em; color: #9A8676; font-weight: 800; }
.wk-days b { display: block; font-size: 17px; color: #2A1A1A; letter-spacing: 0; }
.wk-days span:nth-child(3) { background: #FFE3D8; border-radius: 10px; }
.wk-pots { height: 22px; margin-top: 4px; }
.wk-pots i { grid-column: calc(var(--c) + 1); font-style: normal; text-align: center; font-size: 14px; transform: scale(0); transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.wk-row { gap: 0; margin-top: 6px; height: 24px; }
.bar {
  grid-column: calc(var(--s) + 1) / calc(var(--e) + 2); margin: 0 2px; border-radius: 999px;
  background: var(--col); color: #fff; font-size: 10px; font-weight: 800; padding: 0 8px; line-height: 24px; overflow: hidden; white-space: nowrap;
  clip-path: inset(0 100% 0 0 round 999px); transition: clip-path .7s cubic-bezier(.6, 0, .2, 1);
}
.lunch .bar { background: color-mix(in srgb, var(--col) 22%, #fff); color: var(--col); border: 2px solid var(--col); line-height: 20px; }
.week-demo.go .bar { clip-path: inset(0 0 0 0 round 999px); }
.week-demo.go .wk-pots i { transform: scale(1); }
.today-card { transform: translateY(16px); opacity: 0; transition: .5s; }
.week-demo.go .today-card { transform: none; opacity: 1; transition-delay: 1.6s; }
.week-demo.go .today-card.second { transition-delay: 1.9s; }

.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.totals div { background: #fff; border-radius: 16px; padding: 8px 12px; }
.totals small { display: block; font-size: 9px; letter-spacing: .1em; font-weight: 800; color: #9A8676; }
.totals strong { font-size: 24px; font-weight: 900; color: #2A1A1A; }
.totals .trip { color: #D9365D; }
.aisle { background: #fff; border-radius: 16px; padding: 8px 12px 6px; margin-bottom: 8px; }
.aisle h5 { margin: 0 0 4px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #9A8676; }
.aisle label { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid #F1E9DE; font-size: 14px; transition: color .3s; }
.aisle label:first-of-type { border-top: 0; }
.aisle label i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9B8A8; flex: none; position: relative; transition: .25s; }
.aisle label.done { color: #B5A495; text-decoration: line-through; }
.aisle label.done i { background: #D9365D; border-color: #D9365D; transform: scale(1.1); }
.aisle label.done i::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.shelf { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff; border-radius: 18px; padding: 10px; overflow: hidden; }
.jar { display: grid; justify-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; background: #F6F1EA; font-size: 11px; font-weight: 800; transition: background .3s, transform .3s; }
.jar img { width: 38px; height: 38px; }
.jar.got { background: #D5F2EC; transform: scale(1.04); }
.jar.got::after { content: 'In pantry'; font-size: 9px; color: #0E7F76; }
.beam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: #11A197; box-shadow: 0 0 18px 6px rgba(17, 161, 151, .55); opacity: 0; }
.pantry-demo.go .beam { animation: beam 2.4s ease-in-out 2; opacity: 1; }
@keyframes beam { 50% { top: calc(100% - 3px); } }
.tobuy { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: 16px; overflow: hidden; }
.tobuy li { padding: 9px 12px; border-top: 1px solid #F1E9DE; font-size: 14px; max-height: 40px; transition: max-height .5s .2s, padding .5s .2s, opacity .4s, transform .4s; }
.tobuy li:first-child { border-top: 0; }
.tobuy li.gone { opacity: 0; transform: translateX(60px); max-height: 0; padding-top: 0; padding-bottom: 0; }

/* ---------- themes ---------- */
.themes { transition: background-color .6s; }
.themes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.themes-stage { position: relative; display: flex; justify-content: center; padding: 30px 0; }
.theme-phone { --rot: -3deg; }
.theme-phone img { transition: opacity .35s; }
.theme-phone img.swapping { opacity: 0; }
.theme-picker { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.theme-dot { width: 54px; height: 54px; border-radius: 50%; border: 3px solid #fff; cursor: pointer; padding: 0; background: var(--dot); box-shadow: 0 4px 0 rgba(0, 0, 0, .35); position: relative; transition: transform .2s; }
.theme-dot:hover { transform: translateY(-3px); }
.theme-dot[aria-checked="true"] { outline: 4px solid var(--honey); outline-offset: 3px; }
.theme-dot .pk { position: absolute; right: -6px; top: -6px; width: 20px; height: 20px; border-radius: 50%; background: var(--honey); border: 2px solid var(--ink); font-size: 11px; line-height: 16px; color: var(--ink); }
.theme-name { color: #fff; font-family: var(--display); font-size: 26px; margin: 0; }
.tier { font-family: var(--body); font-size: 13px; font-weight: 900; vertical-align: middle; background: #fff; color: var(--ink); padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.tier.pack { background: var(--honey); }
.theme-bear { width: 170px; height: 220px; right: 2%; bottom: -10px; }

/* ---------- swap ---------- */
.swap { background: var(--bg); }
.swap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.slot-wrap { position: relative; display: flex; justify-content: center; }
.slot-card { width: min(400px, 100%); background: #fff; border: 4px solid var(--ink); border-radius: 30px; padding: 22px 22px 24px; box-shadow: 0 8px 0 var(--ink); position: relative; z-index: 2; }
.slot-card .demo-kicker { color: var(--orange); font-size: 12px; }
.slot-title { font-family: var(--display); font-size: 26px; line-height: 1.1; margin: 6px 0 14px; min-height: 2.2em; transition: transform .3s; }
.slot-title.land { animation: land .5s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes land { 0% { transform: scale(.7); } 60% { transform: scale(1.08); } 100% { transform: none; } }
.slot-meta { font-size: 15px; opacity: .7; margin: 12px 0 16px; }
.reels { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; background: #FFF1D6; border-radius: 20px; padding: 10px; border: 3px solid var(--orange); }
.reel { height: 96px; overflow: hidden; border-radius: 14px; background: linear-gradient(#e9dcc6, #fff 30%, #fff 70%, #e9dcc6); position: relative; }
.strip { display: grid; }
.strip img { width: 100%; height: 96px; padding: 16px; object-fit: contain; }
.payline { position: absolute; left: 6px; right: 6px; top: 50%; height: 3px; margin-top: -1.5px; background: var(--orange); border-radius: 3px; opacity: .0; }
.reels.win .payline { animation: pay .25s 4 alternate; }
@keyframes pay { to { opacity: .9; } }
.reels.win { animation: glow .8s; }
@keyframes glow { 40% { box-shadow: 0 0 0 8px rgba(246, 103, 45, .35); } }
.spin-btn { width: 100%; }
.slot-bear { width: 150px; height: 132px; right: -40px; top: -90px; }

/* ---------- secret ---------- */
.secret { color: #fff; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(#fff 1px, transparent 1.5px), radial-gradient(rgba(255,255,255,.6) 1px, transparent 1.5px); background-size: 90px 90px, 53px 53px; background-position: 0 0, 20px 30px; opacity: .5; animation: drift 60s linear infinite; }
@keyframes drift { to { background-position: 90px 90px, 73px 83px; } }
.locks { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin: 50px 0 0; }
.lock { width: 130px; height: 160px; border-radius: 22px; border: 3px solid #fff; display: grid; place-items: center; align-content: center; gap: 4px; font-family: var(--display); font-size: 22px; color: var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .4); animation: wobble 3s ease-in-out infinite; }
.lock span { width: 54px; height: 54px; border-radius: 16px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 30px; }
.l1 { background: var(--honey); transform: rotate(-6deg); } .l2 { background: #FF8DB4; animation-delay: -.6s; } .l3 { background: #8DE3D2; animation-delay: -1.2s; transform: rotate(5deg); } .l4 { background: #B9A2FF; animation-delay: -1.8s; } .l5 { background: #FFA36C; animation-delay: -2.4s; }
@keyframes wobble { 50% { rotate: 4deg; translate: 0 -6px; } }
.secret-bear { position: relative; width: 200px; height: 258px; margin: 40px auto -60px; }

/* ---------- deep grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.tile { background: #fff; border: 3px solid var(--ink); border-radius: 24px; padding: 22px 20px; box-shadow: 0 5px 0 var(--ink); position: relative; transition: transform .2s; }
.tile:hover { transform: translateY(-4px) rotate(-1deg); }
.tile img { width: 48px; height: 48px; padding: 6px; border-radius: 16px; background: color-mix(in srgb, var(--c) 30%, #fff); margin-bottom: 12px; }
.tile h3 { font-family: var(--display); font-size: 22px; line-height: 1.1; margin: 0 0 6px; }
.tile p { margin: 0; font-size: 16px; opacity: .8; }

/* ---------- privacy, waitlist ---------- */
.privacy { padding: 90px 0; }
.privacy-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.privacy-bear { position: relative; width: 220px; height: 194px; }
.waitlist { background: var(--honey); }
.wl-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 20px auto 0; max-width: 560px; }
.wl-form input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 19px; padding: 16px 22px; border-radius: 999px; border: 3px solid var(--ink); background: #fff; box-shadow: 0 5px 0 var(--ink); }
.wl-form input:focus { outline: 4px solid #fff; outline-offset: 2px; }
.wl-msg { min-height: 1.5em; margin: 16px 0 0; font-family: var(--display); font-size: 20px; }

/* ---------- faq ---------- */
.faq details { background: #fff; border: 3px solid var(--ink); border-radius: 22px; margin: 0 0 14px; box-shadow: 0 4px 0 var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-family: var(--display); font-weight: 600; font-size: 21px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--honey); display: grid; place-items: center; font-size: 22px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; font-size: 17px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 70px 0 40px; position: relative; overflow: hidden; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; color: #fff; opacity: .9; }
.footer a:hover { color: var(--honey); }
.footer-legal { margin-top: 40px; font-size: 13px; opacity: .65; font-weight: 600; }
.footer-legal p { margin: 4px 0; max-width: 60%; }
.footer-bear { width: 170px; height: 150px; right: 6%; bottom: 10px; }

/* ---------- reveal ---------- */
.reveal { transform: translateY(40px) rotate(var(--rot, 0deg)); transition: transform .8s cubic-bezier(.2, .9, .3, 1.15); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: translate3d(0, var(--py, 0), 0) rotate(var(--rot, 0deg)); }
.phone.reveal.in { transition: transform .1s linear; }

/* ---------- animations off ---------- */
.still *, .still *::before, .still *::after { animation: none !important; transition: none !important; }
.still .reveal { opacity: 1; transform: rotate(var(--rot, 0deg)); }
.still .cloud.pre .chip { opacity: 1; --cy: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .feature-grid, .themes-grid, .swap-grid { grid-template-columns: 1fr; gap: 30px; }
  .flip .feature-copy { order: 0; }
  .hero { padding-top: 120px; }
  .hero-stage { height: 600px; }
  .steps { grid-template-columns: 1fr; gap: 70px; margin-top: 90px; }
  .footer-legal p { max-width: 100%; }
  .footer-bear { position: relative; right: auto; bottom: auto; margin: 20px 0 0 auto; }
  .ways-bear { position: relative; right: auto; bottom: -60px; margin: 30px auto 0; }
  .theme-bear { right: 0; width: 130px; height: 168px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .nav { gap: 8px; }
  .nav-word { width: 104px; }
  .motion-label { display: none; }
  .btn-small { font-size: 14px; padding: 8px 12px; }
  .hero-stage { height: 560px; min-height: 0; }
  .hero-bear { left: -4%; bottom: -2%; width: 150px; }
  .phone { width: 250px; border-radius: 40px; padding: 8px; }
  .phone > img, .phone > .demo { border-radius: 33px; }
  .phone-hero { width: 260px; margin-left: -130px; }
  .sticker { font-size: 15px; padding: 9px 14px; }
  .feature-stage .sticker, .hero-stage .sticker { --x: auto; }
  .hero-stage .s-pink { left: auto; right: -4px; }
  .hero-stage .s-white { left: -4px; }
  .feature-stage .sticker:nth-of-type(1) { left: -4px; }
  .feature-stage .sticker:nth-of-type(2) { left: auto; right: -4px; }
  .corner-bear { width: 96px; height: 84px; }
  .grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; text-align: center; }
  .privacy-bear { margin: 0 auto; width: 160px; height: 140px; }
  .slot-bear { right: -6px; top: -80px; width: 110px; height: 97px; }
  .lock { width: 96px; height: 118px; font-size: 17px; }
  .lock span { width: 42px; height: 42px; font-size: 24px; }
  .food { --s: 44px !important; }
}

/* ---------- little extras ---------- */
.zzz { position: absolute; right: 8%; top: 4%; font-family: var(--display); font-weight: 700; color: #8E7CFF; pointer-events: none; }
.zzz i { position: absolute; font-style: normal; font-size: 26px; opacity: 0; animation: zzz 3.6s ease-out infinite; }
.zzz i:nth-child(2) { animation-delay: 1.2s; font-size: 20px; }
.zzz i:nth-child(3) { animation-delay: 2.4s; font-size: 16px; }
@keyframes zzz { 0% { transform: translate(0, 0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translate(34px, -60px); opacity: 0; } }
.still .zzz i { opacity: 1; }
.still .zzz i:nth-child(2) { transform: translate(18px, -26px); }
.still .zzz i:nth-child(3) { transform: translate(32px, -48px); }
.site-toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 120px); background: var(--ink); color: #fff; font-family: var(--display); font-size: 19px; padding: 14px 24px; border-radius: 999px; border: 3px solid #fff; box-shadow: 0 6px 0 rgba(0,0,0,.3); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); max-width: calc(100% - 32px); text-align: center; }
.site-toast.on { transform: translate(-50%, 0); }
.show-sm { display: none; }
.timer { display: inline-block; margin-top: 8px; background: #FFE3D8; color: #B4441C; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.week-demo.go .today-card.third { transition-delay: 2.2s; }
.wk-row { height: 28px; }
.bar { line-height: 28px; font-size: 11px; }
.lunch .bar { line-height: 24px; }
.zzz i { font-size: 34px; }
.zzz i:nth-child(2) { font-size: 27px; }
.zzz i:nth-child(3) { font-size: 21px; }
@media (min-width: 981px) {
  .feature-stage .phone, .theme-phone { width: 330px; }
}
@media (max-width: 600px) {
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .hero-stage { margin-top: 24px; }
  .wk-days span { font-size: 7px; }
  .wk-days b { font-size: 14px; }
  .bar { font-size: 9px; padding: 0 5px; }
}

/* ---------- app icons ---------- */
.icons { padding-bottom: clamp(70px, 9vw, 110px); }
.icon-track { overflow: hidden; margin-top: 40px; padding: 20px 0 10px; position: relative; z-index: 2; }
.icon-row { display: flex; gap: 26px; width: max-content; animation: marquee 50s linear infinite; }
.icon-track:hover .icon-row { animation-play-state: paused; }
.app-icon { margin: 0; display: grid; justify-items: center; gap: 10px; flex: none; }
.app-icon img { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 8px 0 rgba(42, 26, 26, .18), 0 0 0 3px var(--ink); transition: transform .25s cubic-bezier(.3, 1.8, .5, 1); }
.app-icon:nth-child(odd) img { transform: rotate(-4deg); }
.app-icon:nth-child(even) img { transform: rotate(3deg) translateY(10px); }
.app-icon:hover img { transform: rotate(0) scale(1.12); }
.app-icon figcaption { font-family: var(--display); font-weight: 600; font-size: 16px; }
.still .icon-row { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--gutter); }
.still .app-icon[aria-hidden] { display: none; }
.hero-bear { aspect-ratio: 196 / 172; width: min(310px, 44vw); left: -16%; bottom: 4%; }
@media (max-width: 600px) {
  .app-icon img { width: 88px; height: 88px; border-radius: 20px; }
  .app-icon figcaption { font-size: 13px; }
  .hero-bear { width: 140px; left: -2%; bottom: 0; }
}
/* hero bear peeks up from the phone's bottom-right corner */
.hero-bear { left: auto; right: -6%; bottom: -2%; width: min(230px, 40vw); rotate: 10deg; }
@media (max-width: 600px) { .hero-bear { left: auto; right: -2%; bottom: 0; width: 130px; } }
/* ™ placed as in the app's Wordmark (src/wordmark.tsx TM): just off the r, its top level with the r's, Fredoka 600 at 230 font units */
.word-tm { position: relative; display: inline-block; width: var(--w); line-height: 0; }
.word-tm img { width: 100%; height: auto; }
.word-tm sup { position: absolute; left: 100.5%; top: 21.2%; font-family: var(--display); font-weight: 600; font-size: calc(var(--w) * .0553); line-height: 1.2; color: var(--ink); vertical-align: baseline; }
.foot-word sup { color: #fff; }
.nav-logo .word-tm { --w: 130px; }
.foot-word { --w: 190px; }
@media (max-width: 600px) { .nav-logo .word-tm { --w: 104px; } }
.foot-mail { opacity: .85; } .foot-mail span { user-select: all; color: var(--honey); }

/* ---------- privacy & support pages ---------- */
.legal { padding: 140px 0 90px; }
.legal h1.display { font-size: clamp(44px, 7vw, 76px); }
.legal h2 { font-family: var(--display); font-size: 28px; line-height: 1.15; margin: 44px 0 10px; }
.legal p, .legal li { font-size: 18px; font-weight: 600; max-width: 68ch; }
.legal ul { padding-left: 22px; display: grid; gap: 8px; }
.legal .mail { user-select: all; font-weight: 800; background: var(--honey); padding: 1px 8px; border-radius: 8px; }
.legal details { background: #fff; border: 3px solid var(--ink); border-radius: 20px; margin: 0 0 12px; box-shadow: 0 4px 0 var(--ink); }
.legal summary { cursor: pointer; padding: 16px 20px; font-family: var(--display); font-weight: 600; font-size: 20px; }
.legal details p { margin: 0; padding: 0 20px 18px; }
.legal .fine { margin: 40px 0 0; }
.foot-social { margin: 10px 0 0; } .foot-social .ig { display: inline-flex; align-items: center; gap: 8px; color: var(--honey); opacity: 1; font-weight: 800; }
