/* Mietta — the site shares the app's palette and rounded type. */
:root {
  --background: #FFF9FC;
  --surface: #FFFFFF;
  --soft: #F7EDF3;
  --blush: #F8DDEA;
  --rose: #F3C5D8;
  --ink: #412631;
  --muted: #876D77;
  --accent: #AA365A;
  --plum: #2B1520;
  --line: #EEDDE6;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--ink); font-family: var(--font); line-height: 1.55; overflow-x: hidden; }
a { color: var(--accent); text-decoration: none; }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2.6px; text-transform: uppercase; color: var(--accent); }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 58px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 32em; }

/* Navigation floats over the sky, then settles on glass as you scroll. */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .4s var(--ease), box-shadow .4s var(--ease); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav.scrolled { background: rgba(255, 249, 252, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px rgba(170, 54, 90, .25); }
.logo .word { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 600; }
.nav-links a { color: var(--ink); opacity: .78; }
.nav-links a:hover { opacity: 1; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 800; font-size: 15px; transition: transform .25s var(--spring), box-shadow .25s var(--ease), background .25s; }
.pill:hover { transform: translateY(-2px); }
.pill.dark { background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(65, 38, 49, .25); }
.pill.light { background: rgba(255, 255, 255, .7); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.8); }
.pill.rose { background: var(--blush); color: var(--accent); }
.nav .pill { padding: 10px 18px; font-size: 14px; }

/* Hero: the app's own drifting clouds, with the balloon word floating in them. */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; isolation: isolate; }
.hero video, .hero .sky-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 50% 38%, rgba(255,240,246,.15), rgba(255,226,238,.25) 55%, rgba(255,249,252,.0) 70%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; z-index: -1; background: linear-gradient(to bottom, rgba(255,249,252,0), var(--background)); }
.hero-content { padding: 120px 20px 90px; max-width: 900px; }
.wordmark { width: min(78vw, 640px); margin: 0 auto 10px; filter: drop-shadow(0 30px 40px rgba(170, 54, 90, .25)); will-change: transform; animation: bob 6.5s ease-in-out infinite; }
.hero h1 { font-size: clamp(30px, 4.4vw, 54px); color: var(--ink); margin-top: 6px; }
.hero .lede { margin: 16px auto 28px; color: #6E4A58; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.beta-note { margin-top: 18px; font-size: 13px; font-weight: 700; color: #7A5562; letter-spacing: .2px; }
.star { position: absolute; width: 92px; z-index: 0; filter: drop-shadow(0 18px 24px rgba(120, 40, 70, .25)); will-change: transform; pointer-events: none; }
.star-a { top: 17%; left: 9%; animation: drift 9s ease-in-out infinite; }
.star-b { bottom: 22%; right: 10%; width: 74px; animation: drift 11s ease-in-out infinite reverse; }
.star-c { top: 22%; right: 20%; width: 46px; opacity: .9; animation: drift 13s ease-in-out infinite; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(65,38,49,.35); }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: rgba(65,38,49,.5); animation: cue 1.8s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-14px) rotate(.6deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-6deg); } 50% { transform: translate(10px, -22px) rotate(7deg); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Sections */
section.block { padding: 110px 0; overflow-x: clip; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.section-head { max-width: 640px; }
.section-head h2 { margin: 12px 0 16px; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].in { opacity: 1; transform: none; }

/* A messy pile of pieces springs into a tidy closet. */
.pile { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 880px; }
.pile .piece { aspect-ratio: 1; background: var(--surface); border-radius: 30px; box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(65, 38, 49, .07); display: grid; place-items: center; padding: 18px;
  transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(.92); transition: transform 1s var(--spring), box-shadow .6s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.pile .piece { position: relative; }
.pile .piece img { position: absolute; inset: 13%; width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(65,38,49,.14)); transition: transform .5s var(--spring); }
.pile .piece:hover img { transform: scale(1.08) rotate(-2deg); }
.pile.in .piece { transform: none; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag { padding: 8px 14px; border-radius: 999px; background: var(--blush); color: var(--accent); font-weight: 700; font-size: 14px; opacity: 0; transform: translateY(10px) scale(.9); transition: all .6s var(--spring); transition-delay: calc(700ms + var(--i) * 80ms); }
.in .tag, .tag-row.in .tag { opacity: 1; transform: none; }

/* Try-on: drag to compare */
.compare { position: relative; aspect-ratio: 2 / 3; max-width: 440px; margin: 0 auto; border-radius: 36px; overflow: hidden; box-shadow: 0 40px 80px rgba(65, 38, 49, .18); user-select: none; touch-action: pan-y; --pos: 50%; background: var(--soft); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }
.compare .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font-weight: 800; box-shadow: 0 10px 30px rgba(65,38,49,.25); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.8); backdrop-filter: blur(8px); font-size: 12px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--ink); }
.compare .label.l { left: 16px; } .compare .label.r { right: 16px; }
.stat-row { display: flex; gap: 28px; margin-top: 28px; }
.stat strong { display: block; font-size: 30px; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 14px; }

/* Dupes: a deep, glowing band */
.dupes { background: var(--plum); color: #FBEFF4; border-radius: 48px; margin: 0 16px; overflow: hidden; position: relative; }
.dupes::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: -420px; margin-left: -450px; background: radial-gradient(circle, rgba(236, 148, 176, .35), rgba(43, 21, 32, 0) 62%); pointer-events: none; }
.dupes .eyebrow { color: #EC94B0; }
.dupes .lede { color: #CDB3BE; }
.dupe-board { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.6fr); gap: 28px; align-items: center; margin-top: 56px; }
.dupe-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 28px; padding: 22px; backdrop-filter: blur(10px); }
.dupe-card .pic { position: relative; aspect-ratio: 1; background: #FFF9FC; border-radius: 20px; }
.dupe-card .pic img { position: absolute; inset: 10%; width: 80%; height: 80%; object-fit: contain; }
.dupe-card .name { margin-top: 12px; font-weight: 700; font-size: 15px; color: #FBEFF4; }
.dupe-card .price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.dupe-card .was { color: #B8949F; text-decoration: line-through; font-weight: 600; font-size: 15px; margin-left: 8px; }
.alikes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.alikes .dupe-card { padding: 14px; }
.alikes .price { font-size: 22px; }
.save { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: #EC94B0; color: var(--plum); font-weight: 800; font-size: 12px; }
.arrow { font-size: 40px; color: #EC94B0; }
.fine { margin-top: 22px; font-size: 13px; color: #A88A96; }

/* Style for me */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { padding: 12px 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink); cursor: pointer; transition: all .35s var(--spring); font-family: inherit; font-size: 15px; }
.chip.on { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(170,54,90,.3); }
.look { position: relative; aspect-ratio: 10 / 9; }
.look .item { position: absolute; width: 46%; rotate: var(--r, 0deg); filter: drop-shadow(0 18px 24px rgba(65,38,49,.16)); transition: transform .8s var(--spring), opacity .5s var(--ease); }
.look .item img { width: 100%; }
.look.swap .item { opacity: 0; transform: translateY(24px) scale(.9); transition-delay: 0ms !important; }

/* Phones that lean toward the pointer */
.phones { display: flex; justify-content: center; gap: 22px; perspective: 1400px; margin-top: 56px; }
.phone { width: 260px; border-radius: 40px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px rgba(65,38,49,.18), 0 0 0 1px var(--line); transform-style: preserve-3d; transition: transform .8s var(--ease); will-change: transform; }
.phone:nth-child(2) { transform: translateY(-36px); }

/* Privacy + final call */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.trust div { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 24px; }
.trust strong { display: block; font-size: 18px; margin-bottom: 6px; }
.trust p { margin: 0; color: var(--muted); font-size: 15px; }
.finale { position: relative; margin: 40px 16px 0; border-radius: 48px; overflow: hidden; text-align: center; padding: 120px 20px; isolation: isolate; }
.finale img.sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.finale .wordmark { width: min(70vw, 460px); }
.finale h2 { font-size: clamp(30px, 4vw, 48px); margin: 8px 0 24px; }

/* Footer */
footer.site { padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }

/* Plain pages: support, terms, deletion */
.page { max-width: 740px; padding: 130px 0 60px; }
.page h1 { font-size: clamp(36px, 5vw, 52px); margin: 10px 0 14px; }
.page h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: -.02em; }
.page .muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 24px; margin: 14px 0; }
.steps { padding-left: 22px; } .steps li { margin: 6px 0; }
kbd { font-family: var(--font); background: var(--soft); border-radius: 8px; padding: 2px 8px; font-size: .95em; }
.page-sky { position: absolute; inset: 0 0 auto 0; height: 340px; z-index: -1; background: linear-gradient(180deg, #FBE3EE, rgba(255,249,252,0)); }

@media (max-width: 900px) {
  .split, .dupe-board { grid-template-columns: minmax(0, 1fr); }
  .arrow { transform: rotate(90deg); justify-self: center; font-size: 30px; line-height: 1; }
  .dupe-board { gap: 18px; margin-top: 40px; }
  .dupe-board > .dupe-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; max-width: 420px; }
  .dupe-board > .dupe-card .name { margin-top: 0; }
  .trust { grid-template-columns: minmax(0, 1fr); }
  .phones .phone:nth-child(3) { display: none; }
}
@media (max-width: 620px) {
  .nav-links a:not(.pill) { display: none; }
  .pile { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 36px; }
  .pile .piece { border-radius: 18px; padding: 8px; }
  .alikes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .alikes .dupe-card { padding: 8px; border-radius: 18px; }
  .alikes .price { font-size: 18px; }
  .save { font-size: 10px; padding: 3px 7px; }
  .phones .phone { width: 46%; }
  section.block { padding: 80px 0; }
  .star-a { width: 58px; left: 5%; top: 13%; } .star-b { width: 46px; right: 8%; bottom: 3%; } .star-c { display: none; }
  .hero-content { padding: 100px 20px 80px; }
  .nav .pill { padding: 9px 14px; font-size: 13px; }
  .logo .icon { width: 32px; height: 32px; } .logo .word { height: 22px; }
  .compare { border-radius: 28px; }
  .stat-row { gap: 22px; } .stat strong { font-size: 26px; }
  .look { margin-top: 10px; }
  .finale { padding: 90px 20px; }
  .dupes, .finale { border-radius: 32px; margin: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .pile .piece { transform: none; }
}
