/* CuteTracker — site styles */
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces.ttf) format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(fonts/fraunces-italic.ttf) format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f7f2ea; --paper2: #efe6d9; --card: #fffcf7; --ink: #1f1b16; --ink2: #3b342c; --soft: #6b6156; --faint: #a3988a;
  --line: rgba(31, 27, 22, .1); --accent: #d4644b; --accent-soft: #f6ddd3; --brand: #ef7b65; --brand-deep: #d2573f;
  --radius: 30px; --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 1px 2px rgba(31, 27, 22, .04), 0 22px 44px -26px rgba(70, 45, 20, .3);
  --shadow-lg: 0 2px 4px rgba(31, 27, 22, .05), 0 36px 70px -32px rgba(70, 45, 20, .42);
  --bg: var(--card);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* soft color washes + paper grain */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(1000px 560px at 88% -8%, #f4e0d0 0, transparent 62%), radial-gradient(820px 520px at -12% 22%, #e3eee8 0, transparent 60%), radial-gradient(700px 500px at 50% 110%, #efe4f0 0, transparent 60%); }
body::after { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--accent-soft); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 420; letter-spacing: -.025em; font-variation-settings: "SOFT" 100, "opsz" 144; margin: 0; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-variation-settings: "SOFT" 100, "WONK" 1; font-weight: 400; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; z-index: 300; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s; }
.btn.primary { background: var(--brand-deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(210, 87, 63, .7); }
.btn.primary:hover { transform: translateY(-2px); background: #c84d36; box-shadow: 0 16px 30px -14px rgba(210, 87, 63, .75); }
.btn.ghost { border-color: rgba(31, 27, 22, .18); color: var(--ink); background: rgba(255, 255, 255, .35); }
.btn.ghost:hover { background: var(--card); border-color: rgba(31, 27, 22, .3); transform: translateY(-2px); }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { transform: translateY(-2px); background: #fff; }
.btn.sm { height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn.disabled { opacity: .5; pointer-events: none; box-shadow: none; }

/* ---------- Nav ---------- */
.ann { background: var(--ink); color: var(--paper); text-align: center; font-size: 14px; padding: 9px 16px; }
.nav { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 72%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--paper) 86%, transparent); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand .logo { width: 36px; height: 36px; color: var(--brand); transition: transform .4s var(--ease); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.06); }
.word { font-family: "Fraunces", Georgia, serif; font-size: 23px; letter-spacing: -.02em; font-weight: 500; font-variation-settings: "SOFT" 100; }
.word i { font-style: italic; color: var(--accent); font-weight: 450; font-variation-settings: "SOFT" 100, "WONK" 1; margin-right: 1px; }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink2); padding: 8px 14px; border-radius: 999px; transition: background .2s; }
.links a:hover { background: rgba(31, 27, 22, .06); }
@media (max-width: 760px) { .links { display: none; } .nav-in { justify-content: space-between; height: 66px; } .word { font-size: 21px; } }

/* ---------- Hero ---------- */
.kicker { display: inline-flex; align-items: center; gap: 12px; margin: 0; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--soft); font-weight: 650; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); }
.hero { padding: clamp(36px, 6vw, 84px) 0 clamp(40px, 6vw, 80px); }
.hero-in { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 980px) { .hero-in { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { font-size: clamp(50px, 8vw, 104px); line-height: .95; letter-spacing: -.045em; margin: 20px 0 24px; }
.lead { font-size: clamp(17.5px, 1.7vw, 20.5px); line-height: 1.55; color: var(--soft); max-width: 33em; margin: 0 0 32px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14.5px; color: var(--ink2); font-weight: 500; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg, .feats svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.stage { position: relative; height: clamp(440px, 54vw, 620px); }
.halo { position: absolute; inset: 6% 4% 4%; border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%; background: radial-gradient(circle at 30% 35%, #d7ebe8 0, transparent 58%), radial-gradient(circle at 72% 64%, #e1e9da 0, transparent 58%), radial-gradient(circle at 60% 20%, #f6dfd3 0, transparent 50%); animation: blob 14s ease-in-out infinite alternate; }
@keyframes blob { to { border-radius: 56% 44% 52% 48% / 44% 56% 46% 54%; transform: rotate(6deg) scale(1.03); } }
.phone { width: clamp(176px, 22vw, 262px); aspect-ratio: 640 / 1385; border-radius: clamp(30px, 3.4vw, 42px); background: #15120f; padding: clamp(6px, .7vw, 9px); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2c2722; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: clamp(24px, 2.8vw, 34px); }
.phone.ghost { display: grid; place-items: center; background: linear-gradient(160deg, var(--tile, #ece4d8), #fff); }
.phone.ghost .logo { width: 40%; color: var(--brand); opacity: .95; }
.stage .phone { position: absolute; }
.stage .p0 { left: 8%; top: 3%; --r: -7deg; transform: rotate(var(--r)); animation: float 7s ease-in-out infinite; z-index: 2; }
.stage .p1 { right: 6%; top: 12%; --r: 6deg; transform: rotate(var(--r)); animation: float 8s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: rotate(var(--r)) translateY(-12px); } }
.stage-buddy { position: absolute; z-index: 3; width: clamp(92px, 10vw, 128px); }
.stage-buddy .mascot { width: 100%; }
.sb0 { left: -2%; bottom: 3%; }
.sb1 { right: -1%; bottom: 0; }
.pop-say { position: absolute; bottom: 96%; left: 50%; transform: translateX(-30%); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 8px 14px; border-radius: 16px 16px 16px 4px; font-size: 13.5px; font-weight: 600; white-space: nowrap; animation: say 6s var(--ease) infinite; }
.sb1 .pop-say { left: auto; right: 40%; transform: none; border-radius: 16px 16px 4px 16px; animation-delay: 3s; }
@keyframes say { 0%, 8% { opacity: 0; translate: 0 6px; } 14%, 46% { opacity: 1; translate: 0 0; } 54%, 100% { opacity: 0; translate: 0 -4px; } }
@media (max-width: 979px) {
  .stage { max-width: 560px; width: 100%; margin: 6px auto 0; height: clamp(400px, 112vw, 600px); }
  .stage .phone { width: clamp(150px, 42vw, 240px); }
  .stage .p0 { left: 6%; } .stage .p1 { right: 4%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section.tight { padding-top: clamp(24px, 4vw, 48px); }
.sec-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1; letter-spacing: -.035em; }
.sec-head p { margin: 0; color: var(--soft); font-size: 18px; max-width: 36em; }

/* toolbar */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid rgba(31, 27, 22, .14); background: rgba(255, 255, 255, .4); color: var(--ink2); font: inherit; font-size: 14.5px; font-weight: 550; padding: 9px 17px; border-radius: 999px; cursor: pointer; transition: .2s; }
.chip:hover { background: var(--card); }
.chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search { position: relative; display: block; width: min(100%, 300px); }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--soft); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; height: 46px; border-radius: 999px; border: 1px solid rgba(31, 27, 22, .14); background: rgba(255, 255, 255, .55); padding: 0 18px 0 44px; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: .2s; }
.search input:focus { background: var(--card); border-color: var(--ink); }
.empty { text-align: center; color: var(--soft); padding: 40px 0; }

/* ---------- App cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.app-card { background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile { position: relative; display: block; height: 310px; background: var(--tile); overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: -120px; top: -150px; background: rgba(255, 255, 255, .42); z-index: -1; }
.tile::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; left: -80px; bottom: -110px; background: color-mix(in srgb, var(--tone) 12%, transparent); z-index: -1; }
.mini-phone { position: absolute; left: 50%; top: 42px; width: 214px; translate: -50% 0; rotate: -3deg; border-radius: 34px; background: #15120f; padding: 7px; box-shadow: 0 30px 50px -24px rgba(40, 25, 10, .5); transition: translate .6s var(--ease), rotate .6s var(--ease); }
.mini-phone img { border-radius: 28px; width: 100%; aspect-ratio: 640 / 1385; object-fit: cover; object-position: top; }
.mini-phone.ghost { height: 420px; display: grid; place-items: start center; padding-top: 110px; background: linear-gradient(170deg, #fffaf4, color-mix(in srgb, var(--tone) 18%, #fff)); }
.mini-phone.ghost .logo { width: 84px; color: var(--brand); }
.app-card:hover .mini-phone { translate: -50% -12px; rotate: 0deg; }
.tile-buddy { position: absolute; left: 18px; bottom: 14px; width: 92px; z-index: 2; filter: drop-shadow(0 10px 12px rgba(40, 25, 10, .18)); }
.badge { position: absolute; top: 18px; left: 18px; z-index: 3; background: var(--ink); color: var(--paper); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.badge.soft { background: rgba(255, 255, 255, .8); color: var(--ink); backdrop-filter: blur(6px); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.meta { display: flex; justify-content: space-between; align-items: baseline; }
.cat { text-transform: uppercase; letter-spacing: .14em; font-weight: 650; font-size: 11.5px; color: var(--tone); }
.price { font-family: "Fraunces", Georgia, serif; font-size: 20px; font-weight: 500; }
.app-card h3 { font-size: 30px; line-height: 1.08; letter-spacing: -.025em; }
.app-card h3 a { text-decoration: none; }
.app-card p { margin: 0; color: var(--soft); font-size: 15.5px; line-height: 1.5; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 14px; }
.actions.one { grid-template-columns: 1fr; }
.app-card.soon .tile { filter: saturate(.75); }
.app-card.soon .mini-phone { opacity: .9; }

/* ---------- How / Why ---------- */
.steps { display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.step .n { display: block; font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 76px; line-height: .9; color: var(--accent); font-variation-settings: "SOFT" 100, "WONK" 1; margin-bottom: 22px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--soft); }
.why { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.why-card { padding: 30px 28px; border-radius: var(--radius); background: linear-gradient(170deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .25)); border: 1px solid var(--line); }
.why-ic { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); margin-bottom: 20px; }
.why-ic svg { width: 23px; height: 23px; fill: none; stroke: var(--accent); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.why-card h3 { font-size: 23px; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--soft); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 10px 64px; }
@media (min-width: 980px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; align-items: start; } .faq-wrap .sec-head { position: sticky; top: 110px; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(19px, 2vw, 23px); letter-spacing: -.015em; font-variation-settings: "SOFT" 100; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(31, 27, 22, .16); background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' stroke='%231f1b16' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .35s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--card); }
.faq details p { margin: -6px 0 24px; color: var(--soft); max-width: 40em; }

/* ---------- CTA band ---------- */
.cta-band { margin: clamp(10px, 3vw, 30px) 0 clamp(70px, 9vw, 120px); background: var(--ink); color: var(--paper); border-radius: clamp(28px, 4vw, 44px); padding: clamp(40px, 6vw, 76px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -260px; background: radial-gradient(circle, rgba(212, 100, 75, .45), transparent 65%); }
.cta-band h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.02; max-width: 13em; position: relative; }
.cta-band h2 em { color: #f2a08c; }
.cta-band p { margin: 14px 0 0; color: rgba(247, 242, 234, .7); position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 36px; font-size: 15px; }
.foot-top { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .foot-top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand p { color: var(--soft); max-width: 22em; margin: 14px 0 0; }
.foot-col { display: grid; gap: 9px; align-content: start; }
.foot-col b { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: var(--ink2); width: fit-content; }
.foot-col a:hover { color: var(--accent); }
.foot-bot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px 30px; flex-wrap: wrap; font-size: 13.5px; color: var(--faint); }

/* ---------- App page ---------- */
.p-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 80px); }
.p-hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 940px) { .p-hero-in { grid-template-columns: 1.1fr .9fr; } }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 26px; flex-wrap: wrap; }
.crumbs a { color: var(--soft); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.p-hero .kicker::before { background: var(--tone); }
.p-hero h1 { font-size: clamp(52px, 7.6vw, 98px); line-height: .95; letter-spacing: -.045em; margin: 18px 0 20px; }
.p-stage { position: relative; display: grid; place-items: center; padding: 30px 0; isolation: isolate; }
.p-stage::before { content: ""; position: absolute; z-index: -1; width: min(92%, 470px); aspect-ratio: 1; border-radius: 50%; background: var(--tile); }
.p-stage .phone { width: clamp(220px, 26vw, 290px); rotate: 4deg; }
.p-buddy { position: absolute; width: clamp(100px, 11vw, 140px); left: max(0px, calc(50% - 240px)); bottom: 6%; filter: drop-shadow(0 12px 14px rgba(40, 25, 10, .2)); }
.gallery { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); justify-items: center; }
.gallery figure { margin: 0; display: grid; justify-items: center; gap: 18px; }
.gallery .phone { width: min(100%, 260px); }
.gallery figure:nth-child(2) .phone { translate: 0 -18px; }
.gallery figcaption { font-family: "Fraunces", Georgia, serif; font-size: 19px; font-style: italic; color: var(--soft); }
.p-body { display: grid; gap: 40px; }
@media (min-width: 940px) { .p-body { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.p-about h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.02; margin: 14px 0 20px; }
.p-about p { color: var(--ink2); font-size: 18px; margin: 0 0 14px; max-width: 36em; }
.feats { list-style: none; margin: 0; padding: 26px; display: grid; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.feats li { display: flex; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); font-weight: 520; }
.feats li:last-child { border-bottom: 0; }
.feats svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--accent-soft); }

/* ---------- Prose / 404 ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1; margin: 18px 0 28px; }
.prose p { font-size: 18px; color: var(--ink2); }
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.nf .logo { width: 72px; color: var(--brand); margin: 0 auto 26px; animation: float 4s ease-in-out infinite; --r: 0deg; }
.nf h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.02; margin-bottom: 14px; }
.nf p { color: var(--soft); margin: 0 0 28px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity .8s var(--ease), translate .8s var(--ease); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .hero-copy > * { animation: rise 1s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .08s; } .js .hero-copy > :nth-child(3) { animation-delay: .16s; }
.js .hero-copy > :nth-child(4) { animation-delay: .24s; } .js .hero-copy > :nth-child(5) { animation-delay: .32s; }
.js .stage { animation: fade 1.2s var(--ease) .2s both; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
@keyframes fade { from { opacity: 0; scale: .96; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  html { scroll-behavior: auto; }
}
/* mascot positioning must beat the shared .mascot { position: relative } rule */
.tile > .tile-buddy.mascot, .p-stage > .p-buddy.mascot { position: absolute; }

/* ---------- Laptop + phone showcase ---------- */
.sc-stage { position: relative; width: min(100%, 1040px); margin: 10px auto 0; padding: 0 0 clamp(30px, 4vw, 50px); }
.sc-stage .mbp { --w: min(880px, 82vw); margin: 0 auto; }
.sc-phone { position: absolute; right: max(0px, calc(50% - 520px)); bottom: 0; width: clamp(112px, 19vw, 220px); rotate: 4deg; }
@media (max-width: 700px) { .sc-stage .mbp { --w: 84vw; margin-left: 0; } .sc-phone { right: 0; width: 30vw; } }

.price s { color: var(--faint); font-size: .8em; margin-right: 4px; }

/* Realistic device frames drawn in CSS (no photos, no licensing issues).
   Size each device with --w; every measurement scales from it (1em = --w / 100). */

/* ---------- MacBook Pro ---------- */
.mbp { --w: 900px; position: relative; width: var(--w); font-size: calc(var(--w) / 100); }
.mbp-lid { position: relative; background: #0c0c0d; border-radius: 3.4em 3.4em .9em .9em; padding: 2.1em 2.1em 2.7em;
  box-shadow: 0 0 0 .22em #a9acb2, 0 0 0 .34em #6f7277, inset 0 0 0 .18em #2b2c30; }
.mbp-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .5em; background: #111; }
.mbp-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mbp-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(118deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 32%, transparent 33%); }
.mbp-notch { position: absolute; z-index: 2; left: 50%; top: 2.05em; translate: -50% 0; width: 10.5em; height: 1.75em; background: #0c0c0d; border-radius: 0 0 .9em .9em; }
.mbp-notch::after { content: ""; position: absolute; left: 50%; top: .55em; translate: -50% 0; width: .62em; height: .62em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3a4a66, #0b0f18 65%); }
.mbp-hinge { width: 97%; height: .75em; margin: 0 auto; background: linear-gradient(#18191b, #4a4c50 70%, #8a8d92); border-radius: 0 0 .4em .4em; }
.mbp-base { position: relative; width: 113%; margin-left: -6.5%; height: 3.4em; border-radius: .25em .25em 3.2em 3.2em / .25em .25em 100% 100%;
  background: linear-gradient(180deg, #c3c6cb 0%, #eef0f2 14%, #d9dbdf 34%, #b4b7bc 70%, #8d9095 100%);
  box-shadow: inset 0 .12em 0 rgba(255,255,255,.7), inset 0 -.25em .4em rgba(0,0,0,.18); }
.mbp-base::before { content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0; width: 15em; height: 1.25em; border-radius: 0 0 1.4em 1.4em;
  background: linear-gradient(180deg, #9a9da2, #c7cacf); box-shadow: inset 0 .1em .2em rgba(0,0,0,.25); }
.mbp::after { content: ""; position: absolute; z-index: -1; left: -4%; right: -4%; bottom: -2.6em; height: 5em; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 28, 15, .38), transparent); filter: blur(.6em); }

/* ---------- iPhone (Pro style) ---------- */
.iph { --w: 300px; position: relative; width: var(--w); font-size: calc(var(--w) / 100); aspect-ratio: 100 / 205; border-radius: 15.5em;
  background: linear-gradient(150deg, #8b8e93 0%, #3a3b3f 18%, #57595d 50%, #2c2d30 78%, #9a9da1 100%); padding: 1.15em;
  box-shadow: 0 3em 6em -2.6em rgba(40, 25, 10, .55), 0 1.2em 2.4em -1.2em rgba(40, 25, 10, .35); }
.iph-in { position: relative; height: 100%; border-radius: 14.4em; background: #050506; padding: 3.3em; box-shadow: inset 0 0 0 .3em #1a1a1c; }
.iph-screen { position: relative; height: 100%; border-radius: 11.4em; overflow: hidden; background: #111; }
.iph-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.iph-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.02) 38%, transparent 39%); }
.iph-island { position: absolute; z-index: 2; left: 50%; top: 6.4em; translate: -50% 0; width: 30em; height: 8.8em; border-radius: 5em; background: #000; }
.iph-island::after { content: ""; position: absolute; right: 3.4em; top: 50%; translate: 0 -50%; width: 3em; height: 3em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #34405a, #070a12 65%); }
.iph-btn { position: absolute; width: .9em; border-radius: .5em; background: linear-gradient(90deg, #4a4c50, #8d9095); }
.iph-btn.a { left: -.7em; top: 30em; height: 8em; }
.iph-btn.b { left: -.7em; top: 45em; height: 15em; }
.iph-btn.c { left: -.7em; top: 63em; height: 15em; }
.iph-btn.d { right: -.7em; top: 50em; height: 22em; }

/* ---------- iPad Pro (landscape) ---------- */
.ipad { --w: 800px; position: relative; width: var(--w); font-size: calc(var(--w) / 100); aspect-ratio: 100 / 71; border-radius: 5em;
  background: linear-gradient(150deg, #c9ccd1, #8e9196 40%, #b9bcc1 70%, #e3e5e8); padding: .65em;
  box-shadow: 0 3em 6em -2.8em rgba(40, 25, 10, .5); }
.ipad-in { height: 100%; border-radius: 4.4em; background: #060607; padding: 3.2em; position: relative; }
.ipad-screen { height: 100%; border-radius: 1.8em; overflow: hidden; position: relative; background: #111; }
.ipad-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ipad-screen::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.1), transparent 36%); }
.ipad-cam { position: absolute; left: 50%; top: 1.2em; translate: -50% 0; width: .9em; height: .9em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #34405a, #070a12 65%); }

/* iPhone status bar + home indicator (screenshot sits below the status bar) */
.iph-screen.sb { display: flex; flex-direction: column; }
.iph-screen.sb img { flex: 1; min-height: 0; }
.iph-status { flex: 0 0 3.2em; display: flex; justify-content: space-between; align-items: center; padding: .3em 1.85em 0 2.7em; font: 600 3.9em/1 -apple-system, "SF Pro Text", "Segoe UI", sans-serif; letter-spacing: -.01em; }
.iph-status svg { height: .82em; width: auto; margin-left: .32em; vertical-align: middle; }
.iph-status .ic { display: flex; align-items: center; }
.iph-home { position: absolute; z-index: 3; left: 50%; bottom: 2.1em; translate: -50% 0; width: 35%; height: 1.25em; border-radius: 1em; background: rgba(0, 0, 0, .78); }
.iph-island { top: 5.9em; }

/* ============ Mascot (shared by all apps, inlined at build) ============ */
.mascot { position: relative; display: inline-block; width: 72px; flex: none; cursor: pointer; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.mascot svg { width: 100%; height: auto; display: block; overflow: visible; }
.mz .m-all { animation: mzBob 3.2s ease-in-out infinite; }
.mz .m-eyes { animation: mzBlink 4.6s infinite; }
.mz .m-arm-l, .mz .m-arm-r, .mz .m-look { transition: transform .4s cubic-bezier(.3,1.5,.5,1); }
.mz .m-sprout { animation: mzSway 3.4s ease-in-out infinite; }
.mz .m-eyes-happy, .mz .m-eyes-sleep, .mz .m-mouth-open, .mz .m-mouth-sad, .mz .m-fx > * { opacity: 0; }
.mz .m-eyes, .mz .m-mouth { transition: opacity .15s; }
.mz .m-fx > * { transform-box: fill-box; transform-origin: center; }

/* happy: hop, ^^ eyes, open smile, arms up */
.mascot[data-mood="happy"] .m-all, .mascot[data-mood="cheer"] .m-all { animation: mzHop .55s cubic-bezier(.3,.7,.4,1) 2, mzBob 3.2s ease-in-out 1.1s infinite; }
.mascot[data-mood="cheer"] .m-all { animation: mzSpin 1s cubic-bezier(.3,.7,.4,1), mzHop .6s cubic-bezier(.3,.7,.4,1) 1.05s infinite; }
.mascot:is([data-mood="happy"], [data-mood="cheer"], [data-mood="love"]) .m-eyes { opacity: 0; }
.mascot:is([data-mood="happy"], [data-mood="cheer"], [data-mood="love"]) .m-eyes-happy { opacity: 1; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .m-mouth { opacity: 0; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .m-mouth-open { opacity: 1; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .m-arm-l { animation: mzArmL .28s ease-in-out infinite alternate; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .m-arm-r { animation: mzArmR .28s ease-in-out infinite alternate; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .m-sprout { animation: mzSway .5s ease-in-out infinite; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .fx-spark { animation: mzSpark .9s ease-out var(--d) infinite; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .m-foot-l { animation: mzTap .28s ease-in-out infinite alternate; }
.mascot:is([data-mood="happy"], [data-mood="cheer"]) .m-foot-r { animation: mzTap .28s ease-in-out .14s infinite alternate; }
/* love: content glow, floating hearts */
.mascot[data-mood="love"] .fx-heart, .mascot[data-mood="cheer"] .fx-heart { animation: mzFloat 2.4s ease-out var(--d) infinite; }
.mascot[data-mood="love"] .m-arm-l { transform: rotate(35deg); }
.mascot[data-mood="love"] .m-arm-r { transform: rotate(-35deg); }
/* wave: hello! */
.mascot[data-mood="wave"] .m-arm-r { animation: mzWave .45s ease-in-out infinite alternate; }
.mascot[data-mood="wave"] .m-mouth { opacity: 0; }
.mascot[data-mood="wave"] .m-mouth-open { opacity: 1; }
/* think: tilt, eyes up */
.mascot[data-mood="think"] .m-all { animation: mzThink 3s ease-in-out infinite; }
.mascot[data-mood="think"] .m-look { transform: translate(-2px, -3px); }
.mascot[data-mood="think"] .m-arm-r { transform: rotate(-120deg); }
/* sleepy */
.mascot[data-mood="sleepy"] .m-eyes { opacity: 0; animation: none; }
.mascot[data-mood="sleepy"] .m-eyes-sleep { opacity: 1; }
.mascot[data-mood="sleepy"] .m-all { animation: mzBreath 4s ease-in-out infinite; }
.mascot[data-mood="sleepy"] .fx-z { animation: mzFloat 2.6s ease-out var(--d) infinite; }
/* sad / thirsty */
.mascot[data-mood="sad"] .m-mouth { opacity: 0; }
.mascot[data-mood="sad"] .m-mouth-sad { opacity: 1; }
.mascot[data-mood="sad"] .m-look { transform: translate(0, 2px); }
.mascot[data-mood="sad"] .m-all { animation: mzBreath 3.6s ease-in-out infinite; }
.mascot[data-mood="sad"] .fx-sweat { opacity: 1; animation: mzDrip 2.2s ease-in infinite; }
.mascot[data-mood="sad"] .m-arm-l { transform: rotate(-12deg); }
.mascot[data-mood="sad"] .m-arm-r { transform: rotate(12deg); }

@keyframes mzBob { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-3px) scale(1.015, .985); } }
@keyframes mzBreath { 0%, 100% { transform: scale(1, .97); } 50% { transform: scale(1.02, .95); } }
@keyframes mzBlink { 0%, 91%, 97%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }
@keyframes mzHop { 0% { transform: none; } 22% { transform: scale(1.14, .84); } 55% { transform: translateY(-22px) scale(.93, 1.08); } 80% { transform: scale(1.08, .92); } 100% { transform: none; } }
@keyframes mzSpin { 0% { transform: none; } 20% { transform: scale(1.15, .84); } 60% { transform: translateY(-30px) rotate(180deg); } 100% { transform: rotate(360deg); } }
@keyframes mzThink { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(-6deg) translateY(-2px); } }
@keyframes mzSway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes mzArmL { from { transform: rotate(110deg); } to { transform: rotate(150deg); } }
@keyframes mzArmR { from { transform: rotate(-110deg); } to { transform: rotate(-150deg); } }
@keyframes mzWave { from { transform: rotate(-95deg); } to { transform: rotate(-140deg); } }
@keyframes mzTap { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes mzSpark { 0% { opacity: 0; transform: scale(0) rotate(0); } 40% { opacity: 1; transform: scale(1.25) rotate(45deg); } 100% { opacity: 0; transform: scale(.5) rotate(90deg); } }
@keyframes mzFloat { 0% { opacity: 0; transform: translate(0, 4px) scale(.6); } 25% { opacity: 1; } 100% { opacity: 0; transform: translate(6px, -24px) scale(1.1); } }
@keyframes mzDrip { 0%, 30% { transform: translateY(0); opacity: 0; } 45% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* speech bubble */
.buddy { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.say { position: relative; flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; font-size: 14px; line-height: 1.38; color: var(--ink); transform-origin: left center; }
.say::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: inherit; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.say.pop { animation: sayPop .45s cubic-bezier(.3,1.6,.5,1); }
@keyframes sayPop { from { transform: scale(.82); opacity: .2; } }
.head-buddy { width: 54px; margin-top: -4px; }
.sheet-buddy { width: 96px; display: block; margin: 0 auto 8px; }
.cheer-sheet { text-align: center; }
.cheer-sheet .mascot { width: 140px; display: block; margin: 4px auto 10px; }
.cheer-sheet h3 { font-size: 28px; }
@media (prefers-reduced-motion: reduce) { .mz *, .say.pop { animation: none !important; } }

/* streak flame */
.flame { overflow: visible; display: block; }
.flame .fl-body { transform-origin: 12px 21px; transform-box: view-box; }
.flame.s1 .fl-body { transform: scale(.78); animation: flFlick1 2.4s ease-in-out infinite; }
.flame.s2 .fl-body { animation: flFlick 1.8s ease-in-out infinite; }
.flame.s3 { filter: drop-shadow(0 0 3px rgba(255, 120, 40, .55)); }
.flame.s3 .fl-body { transform: scale(1.12); animation: flFlick3 1.2s ease-in-out infinite; }
.flame .fl-in { transform-origin: 12px 19px; transform-box: view-box; animation: flIn 1.1s ease-in-out infinite alternate; }
.flame.s0 .fl-in { animation: none; }
.flame .fl-spark { transform-box: fill-box; transform-origin: center; animation: flSpark 1.6s ease-out infinite; }
.flame .fl-spark.b { animation-delay: .8s; }
@keyframes flFlick1 { 0%, 100% { transform: scale(.78); } 50% { transform: scale(.8, .75) skewX(-2deg); } }
@keyframes flFlick { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.03, .96) skewX(-3deg); } 70% { transform: scale(.98, 1.03) skewX(2deg); } }
@keyframes flFlick3 { 0%, 100% { transform: scale(1.12); } 35% { transform: scale(1.16, 1.06) skewX(-4deg); } 70% { transform: scale(1.1, 1.16) skewX(3deg); } }
@keyframes flIn { from { transform: scale(1); } to { transform: scale(.9, 1.08); } }
@keyframes flSpark { 0% { opacity: 0; transform: translateY(2px) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-5px) scale(1); } }
.ic.fl { background: #fff1e4 !important; }
.ic.fl.s0 { background: color-mix(in srgb, var(--faint, #aaa) 18%, transparent) !important; }
.ic.fl svg.flame { width: 28px !important; height: 28px !important; stroke: none !important; }
@media (prefers-reduced-motion: reduce) { .flame * { animation: none !important; } }
