:root {
  --pink: #ff5a7a; --pink-d: #d93d5e;
  --sun: #ffcf3f; --sun-d: #e0a800;
  --mint: #2fd3a7; --mint-d: #17a77f;
  --sky: #bfe6ff; --blue: #4d96ff; --blue-d: #2f6fd6;
  --grape: #7b4ddb; --grape-d: #5a31b0;
  --orange: #ff9f43;
  --ink: #2a2150; --ink-2: #625a85;
  --bg: #fffaf2; --card: #fff; --line: #f0e6da;
  --r: 26px;
  --shadow: 0 12px 30px rgba(42, 33, 80, .09);
  --shadow-lg: 0 28px 60px rgba(42, 33, 80, .2);
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); font-weight: 600; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(rgba(123,77,219,.07) 2px, transparent 2px); background-size: 28px 28px; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; text-align: center; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; color: inherit; }
.light { color: #fff !important; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 300; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Candy buttons */
.btn { --c: var(--pink); --d: var(--pink-d); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; min-height: 48px; border-radius: 999px; border: 0; font-family: var(--display); font-weight: 600; font-size: 1.05rem; text-decoration: none; background: var(--c); color: #fff; box-shadow: 0 6px 0 var(--d); transition: transform .12s, box-shadow .12s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--d); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--d); }
.btn--white { --c: #fff; --d: #e6dcf5; color: var(--ink); }
.btn--sun { --c: var(--sun); --d: var(--sun-d); color: var(--ink); }
.btn--grape { --c: var(--grape); --d: var(--grape-d); }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size: .95rem; box-shadow: 0 4px 0 var(--d); }
.btn--lg { padding: 16px 30px; font-size: 1.12rem; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.logo__mark { font-size: 1.7rem; display: inline-block; animation: sway 3s ease-in-out infinite; }
.logo__text { font-family: var(--display); font-weight: 700; font-size: 1.7rem; color: var(--pink); }
.logo__text span { color: var(--grape); }
.logo__text.light span { color: var(--sun); }
.logo__text.sm { font-size: 1.15rem; }
@keyframes sway { 50% { transform: rotate(10deg) translateY(-2px); } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(255,250,242,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 4px 20px rgba(42,33,80,.08); }
.nav__inner { display: flex; align-items: center; gap: 22px; height: 74px; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 800; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .15s, color .15s; }
.nav__links a:not(.btn):hover { background: #fff; color: var(--pink); }
.nav__links a span { display: none; }
.nav__cta-mobile { display: none !important; }
.nav__burger { display: none; background: #fff; border: 0; width: 46px; height: 46px; border-radius: 14px; padding: 12px 11px; box-shadow: var(--shadow); margin-left: auto; }
.nav__burger span { display: block; height: 3px; background: var(--ink); border-radius: 3px; margin: 4px 0; transition: transform .2s, opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 50px 0 150px; background: linear-gradient(180deg, #bfe6ff 0%, #dff2ff 55%, var(--bg) 100%); }
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; top: 40px; right: 8%; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #ffe36e 55%, #ffcf3f 56%); box-shadow: 0 0 0 18px rgba(255,207,63,.2), 0 0 0 40px rgba(255,207,63,.1); animation: pulse 5s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.cloud { position: absolute; background: #fff; border-radius: 99px; height: 44px; opacity: .95; animation: drift 40s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 56px; height: 56px; top: -28px; left: 22px; }
.cloud::after { width: 40px; height: 40px; top: -18px; left: 64px; }
.cloud--1 { width: 140px; top: 90px; left: -160px; }
.cloud--2 { width: 110px; top: 220px; left: -160px; animation-duration: 55s; animation-delay: -20s; transform: scale(.8); }
.cloud--3 { width: 160px; top: 40px; left: -180px; animation-duration: 70s; animation-delay: -45s; }
@keyframes drift { to { translate: calc(100vw + 360px) 0; } }
.spark { position: absolute; color: #fff; font-size: 1.4rem; animation: twinkle 2.4s ease-in-out infinite; }
.s1 { top: 18%; left: 44%; } .s2 { top: 60%; left: 6%; animation-delay: .8s; } .s3 { top: 30%; right: 30%; animation-delay: 1.6s; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6) rotate(45deg); } }
.hills { position: absolute; bottom: -1px; left: 0; width: 100%; height: 140px; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; gap: 6px; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: .92rem; box-shadow: var(--shadow); margin-bottom: 18px; }
.squiggle { color: var(--pink); position: relative; display: inline-block; }
.squiggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cpath d='M2 10 Q 17 0 32 10 T 62 10 T 92 10 T 118 8' fill='none' stroke='%23ffcf3f' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 32em; }
.lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin: 26px 0 24px; }
.hero__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__ticks li { background: rgba(255,255,255,.75); border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: .9rem; }

/* Phone */
.hero__phone { display: flex; justify-content: center; }
.phone { width: 290px; height: 580px; background: var(--ink); border-radius: 46px; padding: 11px; box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255,255,255,.5); position: relative; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-12px); } }
.phone__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 110px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 2; }
.phone__screen { background: var(--bg); width: 100%; height: 100%; border-radius: 36px; overflow: hidden; padding: 36px 14px 0; position: relative; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.stories { display: flex; gap: 10px; margin-bottom: 12px; }
.story { text-align: center; }
.story span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; font-size: 1.5rem; border: 3px solid var(--pink); }
.story:nth-child(2) span { border-color: var(--mint); } .story:nth-child(3) span { border-color: var(--sun); } .story:nth-child(4) span { border-color: var(--blue); }
.story small { font-size: .65rem; font-weight: 800; color: var(--ink-2); }
.post { background: #fff; border-radius: 18px; padding: 10px; margin-bottom: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.post__head { display: flex; align-items: center; gap: 6px; font-size: .78rem; margin-bottom: 8px; }
.ok { margin-left: auto; color: var(--mint-d); font-weight: 900; font-size: .68rem; }
.post__media { height: 120px; border-radius: 14px; display: grid; place-items: center; font-size: 3rem; position: relative; }
.post__media span { position: absolute; bottom: 8px; left: 10px; font-size: .72rem; font-weight: 800; background: rgba(255,255,255,.9); padding: 2px 8px; border-radius: 99px; }
.m1 { background: linear-gradient(135deg, #a0e7ff, #ffe8a3); }
.m2 { background: linear-gradient(135deg, #ffc2cc, #d6c4ff); height: 90px; }
.post__react { display: flex; gap: 6px; margin-top: 8px; }
.post__react button { border: 0; background: #fff1e6; border-radius: 99px; padding: 3px 10px; font-size: .75rem; font-weight: 800; }
.tabbar { position: absolute; bottom: 0; left: 0; right: 0; background: #fff; display: flex; justify-content: space-around; align-items: center; padding: 10px 0 18px; font-size: 1.2rem; border-top: 1px solid var(--line); }
.tabbar .plus { background: var(--pink); border-radius: 14px; padding: 2px 12px; }

/* Sticker strip */
.strip { overflow: hidden; padding: 26px 0; background: var(--bg); }
.strip__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.strip__group { display: flex; gap: 14px; padding-right: 14px; }
.sticker { padding: 10px 18px; border-radius: 999px; font-weight: 900; white-space: nowrap; box-shadow: 0 4px 0 rgba(0,0,0,.08); }
.st1 { background: #ffe1e8; transform: rotate(-2deg); } .st2 { background: #fff3c4; transform: rotate(2deg); }
.st3 { background: #d6f7ec; transform: rotate(-1deg); } .st4 { background: #dcecff; transform: rotate(2deg); }
.st5 { background: #ece2ff; transform: rotate(-2deg); } .st6 { background: #ffe6d1; transform: rotate(1deg); }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section { position: relative; padding: 100px 0; }
.section--sky { background: #e3f3ff; padding: 130px 0; }
.section--grape { background: linear-gradient(160deg, #7b4ddb, #a35de0 60%, #ff7aa2); padding: 130px 0; }
.wave { position: absolute; left: 0; width: 100%; height: 60px; }
.wave--top { top: -1px; } .wave--bottom { bottom: -1px; }
.eyebrow { text-align: center; text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-size: .8rem; color: var(--pink); margin-bottom: 10px; }
.eyebrow--light { color: var(--sun); }
.sub { text-align: center; color: var(--ink-2); font-size: 1.12rem; max-width: 40em; margin: 0 auto 50px; }
.sub.light { color: rgba(255,255,255,.88) !important; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::before { content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .42em; border-radius: 8px; z-index: -1; transform: rotate(-1.5deg); }
.hl--yellow::before { background: var(--sun); } .hl--pink::before { background: #ffb8c8; }
.hl--mint::before { background: #9ff0d6; } .hl--blue::before { background: #b9dcff; }
.section--grape .hl--yellow { color: var(--ink); }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.flow__step { position: relative; border-radius: var(--r); padding: 40px 26px 30px; text-align: center; box-shadow: var(--shadow); transition: transform .2s; }
.flow__step:hover { transform: translateY(-6px) rotate(-1deg); }
.fs1 { background: #ffe1e8; } .fs2 { background: #fff3c4; } .fs3 { background: #d6f7ec; }
.flow__step p { color: var(--ink-2); margin: 0; }
.flow__num { position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-6deg); width: 42px; height: 42px; border-radius: 14px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.flow__icon { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 2.6rem; margin: 0 auto 16px; box-shadow: 0 8px 0 rgba(0,0,0,.05); }

/* Split / code card */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split__copy .eyebrow, .split__copy h2, .split__copy .sub { text-align: left; margin-left: 0; }
.split__copy .sub { margin-bottom: 26px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 12px 16px 12px 54px; background: #fff; border-radius: 18px; color: var(--ink-2); box-shadow: 0 4px 0 rgba(42,33,80,.05); }
.checks li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: #fff; display: grid; place-items: center; font-weight: 900; }
.checks b { color: var(--ink); }
.codecard { background: linear-gradient(140deg, var(--grape), var(--pink)); color: #fff; border-radius: 34px; padding: 36px 30px; text-align: center; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.codecard__top { font-weight: 900; }
.codecard__code { font-family: var(--display); font-size: clamp(2.1rem, 7vw, 3.3rem); font-weight: 700; letter-spacing: .08em; background: rgba(255,255,255,.18); border: 3px dashed rgba(255,255,255,.7); border-radius: 22px; padding: 14px 8px; margin: 16px 0 20px; transition: transform .2s; }
.codecard__code.pop { transform: scale(1.08) rotate(-2deg); }
.codecard__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; text-align: left; font-weight: 800; font-size: .92rem; }
.codecard__steps div { background: rgba(255,255,255,.17); border-radius: 16px; padding: 10px 12px; }

/* Demo */
.demo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; margin-bottom: 70px; }
.demo__panel { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 22px; min-height: 340px; border: 3px solid #ffe1e8; }
.demo__panel--feed { background: #f3eeff; border-color: #e2d6ff; }
.demo__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; margin-bottom: 16px; }
.badge { background: var(--pink); color: #fff; font-family: var(--body); font-size: .8rem; font-weight: 900; padding: 4px 12px; border-radius: 99px; animation: pulse 2s ease-in-out infinite; }
.queue, .feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.qitem { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; background: #fffaf2; border-radius: 20px; padding: 12px; transition: opacity .3s, transform .3s; }
.qitem.out { opacity: 0; transform: translateX(40px) rotate(4deg); }
.qthumb { width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; font-size: 2rem; flex: none; }
.qinfo b { display: block; }
.qinfo small { color: var(--ink-2); font-weight: 700; }
.qbtns { display: flex; gap: 8px; }
.qbtns button { border: 0; border-radius: 14px; padding: 11px 14px; font-weight: 900; min-height: 44px; transition: transform .1s; }
.qbtns button:active { transform: scale(.94); }
.yes { background: var(--mint); color: #fff !important; box-shadow: 0 4px 0 var(--mint-d); }
.no { background: #fff; box-shadow: 0 4px 0 #eadfd2; }
.demo__empty { text-align: center; padding: 50px 0; font-weight: 900; font-size: 1.2rem; }
.feed__hint { color: var(--ink-2); text-align: center; padding: 50px 10px; font-weight: 800; }
.feed__hint span { display: block; font-size: 2.6rem; margin-bottom: 6px; }
.fitem { background: #fff; border-radius: 18px; padding: 12px; display: flex; gap: 12px; align-items: center; animation: popin .45s cubic-bezier(.3,1.6,.5,1); }
.fitem .qthumb { width: 56px; height: 56px; font-size: 1.6rem; }
.fitem small { color: var(--mint-d); font-weight: 900; }
@keyframes popin { from { opacity: 0; transform: scale(.7); } }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: transform .2s; }
.feature:hover { transform: translateY(-5px); }
.feature > span { width: 60px; height: 60px; border-radius: 18px; font-size: 1.9rem; display: grid; place-items: center; margin-bottom: 14px; }
.f1 > span { background: #ffe1e8; } .f2 > span { background: #fff3c4; } .f3 > span { background: #d6f7ec; }
.f4 > span { background: #dcecff; } .f5 > span { background: #ece2ff; } .f6 > span { background: #ffe6d1; }
.feature p { color: var(--ink-2); margin: 0; }

/* Videos */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip { border: 0; background: rgba(255,255,255,.2); color: #fff; border-radius: 99px; padding: 10px 18px; min-height: 44px; font-weight: 900; transition: background .15s, transform .15s; white-space: nowrap; }
.chip:hover { background: rgba(255,255,255,.32); }
.chip[aria-selected="true"] { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-d); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.vcard { background: #fff; border: 0; border-radius: 24px; overflow: hidden; text-align: left; padding: 0; color: var(--ink); box-shadow: 0 8px 0 rgba(42,33,80,.18); transition: transform .18s, box-shadow .18s; }
.vcard:nth-child(4n+1):hover { transform: translateY(-6px) rotate(-1.5deg); }
.vcard:nth-child(4n+2):hover { transform: translateY(-6px) rotate(1.5deg); }
.vcard:nth-child(4n+3):hover { transform: translateY(-6px) rotate(-1deg); }
.vcard:nth-child(4n):hover { transform: translateY(-6px) rotate(1deg); }
.vcard:active { transform: scale(.97) !important; }
.vcard__thumb { position: relative; aspect-ratio: 16 / 9; background: #eee; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; }
.vcard__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.25)); }
.vcard__play span { width: 58px; height: 58px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; color: #fff; font-size: 1.3rem; padding-left: 4px; box-shadow: 0 4px 0 var(--pink-d), 0 10px 20px rgba(0,0,0,.25); transition: transform .18s; }
.vcard:hover .vcard__play span { transform: scale(1.12); }
.vcard__age { position: absolute; top: 10px; left: 10px; background: var(--sun); font-weight: 900; font-size: .78rem; padding: 4px 11px; border-radius: 99px; box-shadow: 0 3px 0 var(--sun-d); }
.vcard__body { padding: 14px 16px 18px; display: flex; gap: 12px; align-items: center; }
.vcard__emoji { font-size: 1.5rem; width: 46px; height: 46px; flex: none; border-radius: 14px; background: #f3eeff; display: grid; place-items: center; }
.vcard__body b { display: block; line-height: 1.25; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.vcard__body small { color: var(--ink-2); font-weight: 800; }
.vmore { text-align: center; margin-top: 44px; }
.vnote { text-align: center; color: rgba(255,255,255,.8); font-size: .85rem; margin: 34px auto 0; max-width: 42em; }

/* Videos page hero */
.vhero { padding: 60px 0 120px; text-align: center; }
.vhero h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 4px 22px; border-left: 8px solid var(--pink); }
.faq details:nth-child(2) { border-color: var(--sun); } .faq details:nth-child(3) { border-color: var(--mint); }
.faq details:nth-child(4) { border-color: var(--blue); } .faq details:nth-child(5) { border-color: var(--grape); } .faq details:nth-child(6) { border-color: var(--orange); }
.faq summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff1e6; color: var(--pink); display: grid; place-items: center; font-size: 1.3rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }

/* Join */
.join { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff; padding: 100px 0; text-align: center; }
.balloons span { position: absolute; font-size: 3.2rem; animation: rise 9s ease-in-out infinite; }
.balloons span:nth-child(1) { left: 8%; bottom: 10%; }
.balloons span:nth-child(2) { right: 10%; bottom: 25%; font-size: 2.4rem; animation-delay: -3s; }
.balloons span:nth-child(3) { left: 22%; top: 12%; font-size: 2rem; animation-delay: -6s; }
@keyframes rise { 50% { transform: translateY(-24px) rotate(8deg); } }
.join__inner { position: relative; }
.join p { font-size: 1.1rem; }
.join__form { display: flex; gap: 10px; max-width: 500px; margin: 28px auto 12px; background: rgba(255,255,255,.25); padding: 8px; border-radius: 99px; }
.join__form input { flex: 1; border: 0; border-radius: 99px; padding: 14px 22px; font: inherit; font-weight: 800; min-width: 0; font-size: 1rem; color: var(--ink); }
.join__msg { font-weight: 900; min-height: 1.6em; margin: 0; }
.join__small { opacity: .9; font-size: .92rem !important; }

/* Footer */
.footer { background: var(--ink); color: #d9d4f0; padding: 60px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 32px; }
.footer__links { display: grid; gap: 8px; }
.footer__links a { text-decoration: none; font-weight: 800; }
.footer__links a:hover { color: var(--sun); }
.share p { font-weight: 900; color: #fff; }
.share__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btns a, .share__btns button { background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 99px; padding: 10px 16px; font-weight: 800; text-decoration: none; font-size: .9rem; cursor: pointer; }
.share__btns a:hover, .share__btns button:hover { background: var(--pink); }
.footer__base { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .9rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(42,33,80,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; width: min(920px, 100%, (100vh - 280px) * 16 / 9); min-width: min(560px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border-radius: 30px; box-shadow: var(--shadow-lg); animation: popin .3s cubic-bezier(.3,1.4,.5,1); border: 6px solid #fff; }
.modal__grab { display: none; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--pink); color: #fff !important; font-weight: 900; font-size: 1.1rem; box-shadow: 0 4px 0 var(--pink-d); }
.modal__player { aspect-ratio: 16 / 9; background: #000; border-radius: 24px; overflow: hidden; }
.modal__player iframe, .modal__player > div { width: 100%; height: 100%; display: block; border: 0; }
.modal__meta { display: flex; gap: 12px; align-items: center; padding: 16px 16px 6px; }
.modal__emoji { font-size: 1.6rem; width: 50px; height: 50px; flex: none; border-radius: 16px; background: #f3eeff; display: grid; place-items: center; }
.modal__meta h3 { margin: 0; }
.modal__meta p { margin: 0; color: var(--ink-2); font-weight: 800; }
.modal__next { padding: 8px 16px 18px; }
.modal__next p { font-weight: 900; margin: 6px 0 10px; }
.modal__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.mnext { flex: 0 0 170px; scroll-snap-align: start; border: 0; padding: 0; background: #fffaf2; border-radius: 16px; overflow: hidden; text-align: left; transition: transform .15s; }
.mnext:hover { transform: translateY(-3px); }
.mnext img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.mnext span { display: block; padding: 8px 10px; font-weight: 800; font-size: .85rem; line-height: 1.25; }
body.locked { overflow: hidden; }

/* Toast */
.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 18px; font-weight: 900; z-index: 120; box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100% - 32px); text-align: center; animation: popin .3s; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .hero__inner, .split, .demo { grid-template-columns: 1fr; }
  .hero__copy { text-align: center; }
  .hero__cta, .hero__ticks { justify-content: center; }
  .lead { margin-inline: auto; }
  .split__copy .eyebrow, .split__copy h2, .split__copy .sub { text-align: center; margin-inline: auto; }
  .codecard { transform: none; max-width: 480px; margin: 0 auto; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .sun { width: 80px; height: 80px; right: 5%; top: 20px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .nav__inner { height: 66px; }
  .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__links { position: fixed; top: 66px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px 16px 22px; background: var(--bg); box-shadow: 0 20px 40px rgba(42,33,80,.15); border-radius: 0 0 28px 28px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; }
  .nav__links.open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 16px; font-size: 1.1rem; background: #fff; border-radius: 18px; display: flex; gap: 12px; align-items: center; color: var(--ink); }
  .nav__links a span { display: inline; }
  .nav__cta-mobile { display: flex !important; margin-top: 8px; }

  .hero { padding: 28px 0 110px; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.2rem); }
  .lead { font-size: 1.05rem; }
  .hero__cta { flex-direction: column; gap: 14px; }
  .hero__cta .btn { width: 100%; }
  .hero__ticks { gap: 8px; }
  .hero__ticks li { font-size: .82rem; padding: 5px 12px; }
  .hero__phone { margin-top: 10px; }
  .phone { width: 250px; height: 480px; border-radius: 40px; }
  .phone__screen { border-radius: 31px; padding-top: 32px; }
  .post__media { height: 96px; }
  .m2 { height: 72px; }
  .story span { width: 42px; height: 42px; font-size: 1.3rem; }
  .hills { height: 90px; }
  .cloud--3, .s3 { display: none; }

  .section { padding: 70px 0; }
  .section--sky, .section--grape { padding: 96px 0; }
  .sub { font-size: 1.02rem; margin-bottom: 36px; }
  .flow { grid-template-columns: 1fr; gap: 34px; }
  .flow__step { padding: 36px 22px 26px; }
  .codecard { padding: 28px 20px; }
  .codecard__steps { grid-template-columns: 1fr; }

  .demo__panel { padding: 16px; min-height: 0; }
  .qitem { grid-template-columns: 60px 1fr; gap: 12px; }
  .qthumb { width: 60px; height: 60px; font-size: 1.7rem; }
  .qbtns { grid-column: 1 / -1; }
  .qbtns button { flex: 1; }
  .grid3 { grid-template-columns: 1fr; gap: 14px; }
  .feature { display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; padding: 18px; }
  .feature > span { grid-row: span 2; margin: 0; }
  .feature h3 { margin: 4px 0 2px; font-size: 1.1rem; }

  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -20px 26px; padding: 4px 20px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .vcard { border-radius: 20px; box-shadow: 0 6px 0 rgba(42,33,80,.18); }
  .vcard__play span { width: 44px; height: 44px; font-size: 1rem; }
  .vcard__age { font-size: .68rem; padding: 3px 8px; top: 7px; left: 7px; }
  .vcard__body { padding: 10px 10px 14px; gap: 8px; align-items: flex-start; }
  .vcard__emoji { display: none; }
  .vcard__body b { font-size: .92rem; }
  .vcard__body small { font-size: .78rem; }

  .faq details { padding: 2px 16px; }
  .faq summary { font-size: 1rem; }
  .join { padding: 80px 0; }
  .join__form { flex-direction: column; border-radius: 26px; }
  .join__form .btn { width: 100%; }
  .balloons span:nth-child(3) { display: none; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .share__btns { justify-content: center; }
  .footer__base { text-align: center; }

  /* Video modal becomes a bottom sheet */
  .modal { padding: 0; place-items: end center; }
  .modal__box { width: 100%; min-width: 0; max-height: 92vh; border-radius: 28px 28px 0 0; border-width: 0; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); animation: sheet .3s cubic-bezier(.2,1,.4,1); }
  @keyframes sheet { from { transform: translateY(100%); } }
  .modal__grab { display: block; width: 46px; height: 5px; border-radius: 9px; background: #e2dcef; margin: 0 auto 10px; }
  .modal__close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .modal__player { border-radius: 0; margin-top: 46px; }
  .mnext { flex-basis: 150px; }
}
@media (max-width: 360px) {
  .vgrid { grid-template-columns: 1fr; }
  .logo__text { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
