/* Mopey home page. Light, warm and cozy: the monster art is drawn on white and cream, so the page stays light. */
:root {
  color-scheme: light;
  --bg: #FFFDF8;
  --cream: #FCF8EC;
  --ink: #141414;
  --body: #5E5E5A;
  --muted: #8C8A84;
  --line: #ECE6D8;
  --green: #3BA574;
  --green-dark: #2F8F62;
  --mint: #EAF6F0;
  --coin: #E3A857;
  --display: "Figtree", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --hand: "Gochi Hand", "Comic Sans MS", cursive;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--display); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 900; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; border-radius: 16px; background: var(--green); color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; box-shadow: 0 6px 18px rgb(59 165 116 / .28); transition: transform .15s, background .15s; }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-small { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; box-shadow: none; }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px var(--gutter); padding-top: max(12px, env(safe-area-inset-top)); background: rgb(255 253 248 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgb(236 230 216 / .7); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 21px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--body); }
.nav-links a:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links { display: none; } .nav .btn-small { margin-left: auto; } }

/* Hero */
.hero { position: relative; min-height: min(100svh, 920px); display: grid; place-items: start center; overflow: hidden; background: var(--cream); }
.scenes { position: absolute; inset: 0; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s ease; }
.scene.is-on { opacity: 1; transform: scale(1); }
.hero-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(255 253 248 / .72) 0%, rgb(255 253 248 / .45) 30%, rgb(255 253 248 / 0) 52%), linear-gradient(0deg, var(--bg) 0%, rgb(255 253 248 / 0) 16%); }
.hero-copy { position: relative; z-index: 2; text-shadow: 0 1px 14px rgb(255 255 255 / .9); text-align: center; padding: calc(110px + env(safe-area-inset-top)) var(--gutter) 0; max-width: 780px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark); }
.hero h1 { margin-top: 14px; font-size: clamp(46px, 9vw, 96px); line-height: .98; letter-spacing: -0.04em; }
.lede { margin: 20px auto 0; max-width: 34ch; font-size: clamp(17px, 2.2vw, 20px); color: #3E3E3A; font-weight: 500; }
.cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: center; }
.soon { font-size: 14px; font-weight: 700; color: var(--body); background: rgb(255 255 255 / .85); border-radius: 999px; padding: 7px 14px; }
.scene-dots { margin-top: 22px; display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 999px; background: rgb(255 255 255 / .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 4px 18px rgb(0 0 0 / .1); }
.scene-dots button { border: 0; background: none; font: 700 13px var(--display); color: var(--body); padding: 7px 13px; border-radius: 999px; cursor: pointer; }
.scene-dots button[aria-pressed="true"] { background: var(--green); color: #fff; }

/* Phone */
.phone { width: 300px; border-radius: 46px; padding: 10px; background: #111; box-shadow: 0 30px 60px -18px rgb(30 20 0 / .35), inset 0 0 0 2px #2A2A2A; }
.phone img { border-radius: 37px; width: 100%; }
.phone-sm { width: 250px; border-radius: 40px; padding: 9px; }
.phone-sm img { border-radius: 32px; }
.phone-stage { position: relative; display: grid; place-items: center; margin-top: -120px; z-index: 4; padding: 0 var(--gutter); }
.note { position: absolute; font: 24px/1.05 var(--hand); color: var(--ink); }
.note-left { left: calc(50% - 330px); top: 210px; transform: rotate(-8deg); }
.note-right { right: calc(50% - 340px); top: 380px; transform: rotate(6deg); color: var(--green-dark); }
.note::after { content: ""; display: block; width: 56px; height: 18px; margin-top: 6px; border-bottom: 2.5px solid currentColor; border-radius: 0 0 60px 60px; }
@media (max-width: 760px) { .note { display: none; } .phone-stage { margin-top: -90px; } .phone { width: 260px; } }

/* Meet */
.meet { max-width: 760px; margin: 110px auto 0; padding: 0 var(--gutter); text-align: center; }
.peek { width: min(420px, 90%); margin: 0 auto; mix-blend-mode: multiply; border-bottom: 3px solid #EFE3D2; }
.meet h2 { margin-top: 26px; font-size: clamp(36px, 6vw, 58px); }
.meet p { margin-top: 16px; font-size: clamp(18px, 2.4vw, 21px); color: var(--body); }
.meet strong { color: var(--ink); }

/* Sections */
.section-title { font-size: clamp(34px, 5.4vw, 54px); text-align: center; }
.section-sub { max-width: 58ch; margin: 14px auto 0; text-align: center; color: var(--body); font-size: 18px; }

.how { max-width: var(--max); margin: 140px auto 0; padding: 0 var(--gutter); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: 90px; }
.step-flip .step-art { order: 2; }
.step-art { display: grid; place-items: center; background: var(--cream); border-radius: 36px; padding: 44px 24px; min-width: 0; }
.art-card { border-radius: 24px; width: 100%; box-shadow: 0 18px 40px -20px rgb(60 40 0 / .4); }
.step-copy { min-width: 0; }
.step-num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mint); color: var(--green-dark); font-weight: 900; font-size: 19px; }
.step h3 { margin-top: 16px; font-size: clamp(30px, 4.4vw, 44px); }
.step p { margin-top: 14px; font-size: 18px; color: var(--body); max-width: 44ch; }
@media (max-width: 820px) { .step { grid-template-columns: 1fr; margin-top: 64px; } .step-flip .step-art { order: 0; } }

/* Monsters marquee */
.monsters { margin-top: 150px; }
.monsters .section-title, .monsters .section-sub { padding: 0 var(--gutter); }
.marquee { overflow: hidden; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; gap: 18px; width: max-content; animation: slide 90s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .track { animation: none; } .marquee { overflow-x: auto; } }
.mon { margin: 0; width: 230px; flex: none; background: #fff; border-radius: 28px; padding: 14px 14px 18px; border: 1px solid var(--line); }
.mon img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.mon figcaption { display: grid; gap: 2px; padding: 4px 6px 0; }
.mon b { font-size: 19px; font-weight: 800; }
.mon span { font-size: 14px; color: var(--body); line-height: 1.35; }
.mon.soon b { color: var(--green-dark); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

/* More features */
.more { max-width: var(--max); margin: 150px auto 0; padding: 0 var(--gutter); }
.grid { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px; }
.card h3 { font-size: 23px; letter-spacing: -0.015em; }
.card p { margin-top: 10px; color: var(--body); }
.card-nope { grid-column: 1 / -1; display: grid; grid-template-columns: 200px 1fr 300px; gap: 28px; align-items: center; background: var(--cream); }
.card-nope .apps { border-radius: 18px; }
.card-nope img { mix-blend-mode: multiply; }
.tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green-dark); background: var(--mint); border-radius: 999px; padding: 4px 10px; margin-bottom: 10px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } .card-nope { grid-template-columns: 1fr; } .card-nope img { width: 200px; margin: 0 auto; } .card-nope .apps { width: 100%; max-width: 360px; } }

/* Pro */
.pro { max-width: var(--max); margin: 150px auto 0; padding: 0 var(--gutter); }
.fine { margin-top: 20px; text-align: center; color: var(--muted); font-size: 13px; }

/* Founder */
.founder { margin: 150px auto 0; padding: 0 var(--gutter); }
.letter { position: relative; max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 64px clamp(24px, 5vw, 56px) 44px; box-shadow: 0 30px 60px -40px rgb(60 40 0 / .35); }
.founder-photo { position: absolute; top: -48px; left: 50%; translate: -50% 0; width: 96px; height: 96px; border-radius: 50%; border: 5px solid var(--bg); object-fit: cover; }
.letter h2 { font-size: clamp(28px, 4vw, 36px); text-align: center; }
.letter p, .letter li { color: #45443F; font-size: 18px; }
.letter p { margin-top: 16px; }
.letter ul { margin: 14px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.letter strong { color: var(--ink); }
.sign { font: 700 22px/1.2 var(--display) !important; color: var(--ink) !important; margin-top: 30px !important; }
.role { margin-top: 4px !important; font-size: 14px !important; color: var(--muted) !important; }

/* Footer */
.footer { position: relative; margin-top: 150px; }
.footer-scene { position: relative; height: clamp(260px, 42vw, 520px); overflow: hidden; }
.footer-scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.footer-fade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgb(255 253 248 / 0) 30%, rgb(255 253 248 / 0) 70%, #F4EEDD 100%); }
.footer-body { background: #F4EEDD; padding: 30px var(--gutter) calc(24px + env(safe-area-inset-bottom)); text-align: center; overflow: hidden; }
.footer-cta h2 { font-size: clamp(30px, 5vw, 46px); }
.footer-cta .btn { margin-top: 20px; }
.footer-links { position: relative; z-index: 1; margin: 56px auto 0; max-width: 760px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-links div { display: grid; gap: 8px; align-content: start; }
.footer-links b { font-size: 15px; }
.footer-links a { color: var(--body); text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.wordmark { margin-top: 30px; font-weight: 900; font-size: clamp(90px, 24vw, 330px); line-height: .8; letter-spacing: -0.06em; color: rgb(140 110 60 / .14); user-select: none; pointer-events: none; position: relative; z-index: 0; }
.copy { position: relative; z-index: 1; margin-top: 16px; color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .footer-links { grid-template-columns: 1fr; } }

/* Step 2: Mopey live, with the session settings beside him */
.step-art-live { position: relative; padding: 30px 24px 40px; overflow: visible; }
.live { width: 100%; max-width: 460px; aspect-ratio: 4 / 3; object-fit: contain; mix-blend-mode: multiply; }
.phone-xs { position: absolute; right: -18px; bottom: -34px; width: 150px; border-radius: 28px; padding: 6px; transform: rotate(4deg); }
.phone-xs img { border-radius: 23px; }
.asleep { position: absolute; left: -10px; top: -30px; margin: 0; width: 150px; transform: rotate(-6deg); text-align: center; }
.asleep img { width: 100%; mix-blend-mode: multiply; }
.asleep figcaption { font: 20px/1 var(--hand); margin-top: -6px; }
.ticks { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--body); font-size: 17px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before, .pro-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
@media (max-width: 820px) { .step-art-live { padding: 50px 16px 60px; } .phone-xs { right: 6px; bottom: -24px; width: 104px; border-radius: 20px; padding: 4px; } .phone-xs img { border-radius: 16px; } .asleep { left: 4px; top: -24px; width: 104px; } .asleep figcaption { font-size: 15px; } }

/* Feature card snippets */
.snip { background: var(--cream); border-radius: 18px; padding: 18px; margin-bottom: 20px; display: grid; place-items: center; overflow: hidden; height: 230px; }
.snip-tall { height: 260px; align-items: start; }
.snip .shot { width: 100%; max-width: 380px; border-radius: 12px; box-shadow: 0 8px 22px -12px rgb(0 0 0 / .25); }
.snip-dark { background: linear-gradient(160deg, #3B3A4A, #1C1B24); gap: 14px; align-content: center; }
.island { width: 100%; max-width: 340px; border-radius: 30px; overflow: hidden; background: #000; }
.island img { width: 100%; margin-top: -6%; }
.la-card { position: relative; width: 100%; max-width: 340px; background: #1C1C1C; color: #fff; border-radius: 22px; padding: 12px 14px; display: grid; gap: 4px; overflow: hidden; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.la-top { display: flex; justify-content: space-between; align-items: center; }
.la-status { color: var(--green); font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.la-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.la-btns { display: flex; gap: 6px; } .la-btns i { width: 24px; height: 24px; border-radius: 50%; background: rgb(255 255 255 / .18); } .la-btns .go { background: var(--green); }
.la-time { font: 700 30px/1.1 ui-rounded, -apple-system, sans-serif; }
.la-bar { width: 58%; height: 4px; border-radius: 2px; background: rgb(255 255 255 / .16); } .la-bar span { display: block; width: 26%; height: 100%; border-radius: 2px; background: var(--green); }
.la-task { font-size: 12px; color: rgb(255 255 255 / .72); margin-top: 6px; }
.la-card img { position: absolute; right: 4px; bottom: -4px; width: 118px; }

/* Pro list */
.pro-list { list-style: none; margin: 36px auto 0; padding: 26px 30px; max-width: 760px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; background: #fff; border: 1.5px solid var(--line); border-radius: 26px; font-size: 18px; font-weight: 600; }
.pro-list li { position: relative; padding-left: 32px; }
@media (max-width: 640px) { .pro-list { grid-template-columns: 1fr; } }

/* Steps: show only the top of each screenshot; the phone runs off the bottom of its panel. */
.step-art-crop { padding-bottom: 0; overflow: hidden; align-items: start; }
.step-art-crop .phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; padding-bottom: 0; }
.step-art-crop .phone img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.phone-xs { border-bottom-left-radius: 28px; }
.step-art-kick { padding: 20px; }
.kick { width: 100%; max-width: 420px; mix-blend-mode: multiply; }
