/* merci. landing page */
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/instrumentserif-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/instrumentserif-400.woff2) format('woff2'); }
:root {
  --bg: #07060A; --tx: #F6F1E9; --mut: rgba(246, 241, 233, .6); --mut2: rgba(246, 241, 233, .36);
  --line: rgba(255, 255, 255, .09); --glass: rgba(28, 24, 28, .55); --inner: rgba(255, 255, 255, .045);
  --or: #F7862F; --or2: #FFC07A;
  --sans: 'Inter', -apple-system, 'SF Pro Display', 'Helvetica Neue', system-ui, sans-serif;
  --serif: 'Instrument Serif', 'Didot', 'Bodoni 72', Georgia, serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--tx); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--mut2); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }

/* ---------- buttons ---------- */
.btn-w, .btn-g { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 14.5px; white-space: nowrap; transition: transform .2s, background .2s; }
.btn-w { background: #fff; color: #111; box-shadow: 0 8px 30px rgba(255, 255, 255, .12); }
.btn-g { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }
.btn-w:hover, .btn-g:hover { transform: translateY(-2px); }
.btn-g:hover { background: rgba(255, 255, 255, .13); }
.btn-w.sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.arr { font-size: 12px; opacity: .8; }

.tag { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px 0 6px; border-radius: 7px; font-size: 12px; color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tag.sm { height: 26px; font-size: 11.5px; }
.tag-dot { width: 16px; height: 16px; border-radius: 4px; background: url(../img/app-icon.png) center/cover; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 940px; padding-bottom: 40px; overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--bg); }
.photo { position: absolute; inset: 0 0 8% 0; background: url(../img/hero.jpg) center 62% / cover no-repeat; animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1%); } }
/* tone the bright daylight photo down so white type reads, then fade into the page */
.sky::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 6, 10, .62) 0%, rgba(7, 6, 10, .38) 30%, rgba(7, 6, 10, .3) 52%, rgba(7, 6, 10, .78) 76%, var(--bg) 92%),
              radial-gradient(60% 40% at 50% 30%, rgba(7, 6, 10, .35), transparent 70%); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; position: relative; z-index: 5; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 400 25px/1 'Didot', 'Bodoni 72', Georgia, serif; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 4px 14px rgba(247, 134, 47, .35); }
.links { display: flex; gap: 30px; font-size: 13.5px; color: rgba(255, 255, 255, .72); }
.links a:hover, .links a.on { color: #fff; }
.links a.on { font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 22px; font-size: 13.5px; }
.nav-login { color: rgba(255, 255, 255, .8); }
.burger { display: none; width: 34px; height: 34px; background: none; border: 0; padding: 0; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger i { display: block; width: 18px; height: 1.5px; background: #fff; }

.hero-copy { text-align: center; padding-top: 46px; position: relative; z-index: 2; }
.hero-copy h1 { margin: 22px 0 18px; font-weight: 500; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
.hero-copy h1 em { font-size: 1.14em; letter-spacing: -.01em; line-height: .95; }
.hero-copy p { margin: 0 auto; max-width: 470px; color: rgba(255, 255, 255, .7); font-size: 15px; }
.ctas { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.ctas.left { justify-content: flex-start; }

/* stage: phone + glass cards */
.stage { position: relative; height: 470px; margin-top: 64px; display: flex; justify-content: center; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: 18px; -webkit-backdrop-filter: blur(22px) saturate(1.3); backdrop-filter: blur(22px) saturate(1.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); }
.side { position: absolute; top: 120px; width: 290px; padding: 12px; }
.side.left { left: 4%; }
.side.right { right: 4%; top: 96px; }
.gh { display: flex; align-items: center; gap: 10px; padding: 4px 4px 12px; font-size: 13.5px; }
.gh b { flex: 1; font-weight: 500; }
.gi { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); font-size: 13px; color: rgba(255, 255, 255, .75); flex: none; }
.gi.sm { width: 22px; height: 22px; font-size: 11px; border-radius: 6px; background: rgba(247, 134, 47, .16); }
.inner { background: var(--inner); border: 1px solid rgba(255, 255, 255, .05); border-radius: 12px; padding: 12px; }
.inner + .inner { margin-top: 8px; }
.inner small { display: block; font-size: 11px; color: var(--mut2); margin-bottom: 4px; }
.row { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: 13px; }
.row span:nth-child(2) { flex: 1; }
.row em { font: 500 12px var(--sans); color: var(--mut); }
.row em.ok { color: var(--or2); }
.av { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--c); flex: none; }
.av.lg { width: 32px; height: 32px; font-size: 13px; }
.gift-l { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.gift-r { display: flex; justify-content: space-between; font-size: 12px; color: var(--mut); margin: 12px 0 8px; }
.gift-r b { color: #fff; font-weight: 600; }
.bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--or), var(--or2)); }

.phone { position: relative; z-index: 2; width: 286px; height: 560px; border-radius: 46px; padding: 9px;
  background: linear-gradient(160deg, #3a3a40, #121215 40%, #2a2a2f); box-shadow: 0 40px 100px rgba(0, 0, 0, .7), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }
.screen { height: 100%; border-radius: 38px; background: #0c0b0e; overflow: hidden; padding: 12px 14px; }
.status { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; padding: 2px 10px 12px; }
.sb { letter-spacing: 1px; font-size: 9px; opacity: .85; }
.convo-h { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.convo-h div { flex: 1; line-height: 1.15; }
.convo-h small { display: block; font-size: 10px; color: var(--mut2); }
.convo-h b { font-size: 14px; font-weight: 600; }
.ico { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .07); display: grid; place-items: center; font-size: 13px; color: var(--mut); }
.stamp, .delivered { text-align: center; font-size: 10px; color: var(--mut2); margin: 10px 0; }
.delivered { text-align: right; margin: 5px 4px 10px; }
.bubble { margin-left: auto; width: 196px; border-radius: 18px; overflow: hidden; background: #1f1d22; border: 1px solid rgba(255, 255, 255, .06); }
.bubble-cap { padding: 8px 11px 10px; line-height: 1.25; }
.bubble-cap b { display: block; font-size: 11.5px; font-weight: 600; }
.bubble-cap small { font-size: 10px; color: var(--mut); }
.reply { max-width: 78%; padding: 8px 12px; border-radius: 16px 16px 16px 4px; background: #26242a; font-size: 12px; }

/* live card mounts */
.card-mount { position: relative; overflow: hidden; flex: none; }
.card-mount .page { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* ---------- about ---------- */
.about { padding-top: 40px; }
.meta { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(255, 255, 255, .7); padding-top: 14px; border-top: 1px solid var(--line); }
.slash { font-style: normal; color: var(--or); margin: 0 4px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--or); margin-right: 4px; vertical-align: 1px; }
.meta-r { text-align: right; font-size: 11.5px; color: var(--mut2); margin: 28px 0 0; }
.big { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.38; letter-spacing: -.02em; max-width: 860px; margin: 26px 0 0; }
.fade-words span { transition: color .5s; }
.strip { display: flex; justify-content: space-between; gap: 30px; margin: 80px 0 0; padding: 0; color: rgba(255, 255, 255, .42); font-weight: 600; font-size: 16px; letter-spacing: -.01em;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; white-space: nowrap; }

/* ---------- sections ---------- */
section { position: relative; }
.how, .designs, .gifts, .faq, .cta { margin-top: 140px; }
.sec-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.sec-h h2, .gifts h2, .cta h2 { margin: 14px 0 0; font-weight: 500; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.08; letter-spacing: -.03em; }
.sec-h h2 em, .gifts h2 em, .cta h2 em { font-size: 1.1em; }
.sec-h > p { max-width: 330px; margin: 0; font-size: 12.5px; color: var(--mut); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step h3 { margin: 18px 0 4px; font-size: 15.5px; font-weight: 500; }
.step p { margin: 0; font-size: 12.5px; color: var(--mut); }
.shot { position: relative; height: 250px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); }
.shot::before { content: ''; position: absolute; inset: 0; z-index: -1; }
.s1::before { background: radial-gradient(80% 70% at 50% 110%, #b5643a, transparent 70%), linear-gradient(180deg, #2a2226, #4a3530); }
.s2::before { background: radial-gradient(70% 60% at 30% 0%, #6b5a6a, transparent 70%), linear-gradient(180deg, #2b2730, #1a1619); }
.s3::before { background: radial-gradient(80% 60% at 80% 100%, #7b5a3c, transparent 70%), linear-gradient(200deg, #3d3439, #191519); }
.fan { position: relative; width: 260px; height: 180px; }
.fan .card-mount { position: absolute; border-radius: 8px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.fan .card-mount:nth-child(1) { left: 8px; top: 22px; transform: rotate(-11deg); }
.fan .card-mount:nth-child(2) { left: 71px; top: 4px; z-index: 2; }
.fan .card-mount:nth-child(3) { right: 8px; top: 22px; transform: rotate(11deg); }
.step:hover .fan .card-mount:nth-child(1) { transform: rotate(-16deg) translate(-12px, 4px); }
.step:hover .fan .card-mount:nth-child(3) { transform: rotate(16deg) translate(12px, 4px); }
.step:hover .fan .card-mount:nth-child(2) { transform: translateY(-6px); }
.mini { width: 78%; padding: 14px; border-radius: 14px; }
.pill-l { display: inline-block; font-size: 10.5px; color: var(--mut); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.sig { width: 100%; height: 76px; margin: 6px 0; }
.sig path { fill: none; stroke: var(--or2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.in .sig path { animation: write 2.6s ease-in-out .3s forwards; }
@keyframes write { to { stroke-dashoffset: 0; } }
.tools { display: flex; gap: 6px; }
.tools span { flex: 1; text-align: center; font-size: 10.5px; padding: 7px 0; border-radius: 8px; background: rgba(255, 255, 255, .06); color: var(--mut); }
.tools span.on { background: #fff; color: #111; font-weight: 600; }
.mrow { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 10px; }
.mrow b { flex: 1; font-weight: 600; }
.mrow small { color: var(--mut2); font-size: 10px; }
.mbub { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--inner); border: 1px solid rgba(255, 255, 255, .05); }
.mbub .card-mount { border-radius: 6px; }
.mbub b { display: block; font-size: 12px; font-weight: 600; }
.mbub small { font-size: 10.5px; color: var(--mut); }
.send { margin-top: 10px; display: flex; justify-content: space-between; align-items: center; padding: 8px 8px 8px 12px; border-radius: 10px; background: #fff; color: #111; font-size: 11.5px; font-weight: 600; }
.send span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--or2), var(--or)); color: #fff; }

/* designs rail */
.rail { display: flex; gap: 18px; overflow-x: auto; padding: 10px max(24px, calc((100vw - 1180px) / 2)) 26px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { flex: none; scroll-snap-align: start; width: 220px; }
.tile .frame { border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); border: 1px solid var(--line); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.tile:hover .frame { transform: translateY(-6px); }
.tile h4 { margin: 14px 0 2px; font-size: 14px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.tile p { margin: 0; font-size: 12px; color: var(--mut); }
.motion { display: inline-flex; gap: 3px; }
.motion i { width: 4px; height: 10px; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.motion i.on { background: var(--or); }
.soon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; font-size: 12px; color: var(--mut2); }
.soon span { margin-right: 6px; }
.soon b { font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .7); }

/* gifts */
.gifts { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
.g-copy > p { color: var(--mut); font-size: 14px; max-width: 420px; margin: 18px 0 0; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; font-size: 13.5px; }
.checks li::before { content: '✓'; grid-row: span 2; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: rgba(247, 134, 47, .16); color: var(--or2); }
.checks b { font-weight: 500; }
.checks span { color: var(--mut); font-size: 12.5px; }
.g-panel { position: relative; padding: 30px; border-radius: 22px; overflow: hidden; min-height: 420px; }
.g-panel::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 70% 0%, rgba(162, 106, 79, .55), transparent 70%), radial-gradient(70% 60% at 0% 100%, rgba(77, 61, 73, .6), transparent 70%); }
.gp-h { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.g-panel small { display: block; margin-top: 18px; font-size: 12px; }
.amount { font-size: 46px; font-weight: 500; letter-spacing: -.03em; margin-top: 2px; }
.amount span { color: var(--mut2); }
.unwrap { position: relative; height: 150px; margin: 22px 0; border-radius: 14px; overflow: hidden; display: grid; place-items: center;
  background: repeating-linear-gradient(135deg, #d9693a 0 18px, #e8763a 18px 36px); box-shadow: inset 0 -20px 40px rgba(0, 0, 0, .25); }
.ribbon { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 46%, #FFE2B8 46%, #FFE2B8 54%, transparent 54%), linear-gradient(180deg, transparent 42%, #FFE2B8 42%, #FFE2B8 58%, transparent 58%); }
.tap { position: relative; padding: 10px 18px; border-radius: 999px; background: #fff; color: #111; font-weight: 600; font-size: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-5px); } }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; }
.kinds span { font-size: 12px; padding: 8px 12px; border-radius: 10px; background: var(--inner); border: 1px solid rgba(255, 255, 255, .06); color: var(--mut); }
.kinds span.on { background: #fff; color: #111; font-weight: 600; }

/* faq */
.qs { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .025); padding: 0 20px; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; color: var(--mut); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--mut); font-size: 13.5px; max-width: 680px; }

/* cta */
.cta { margin-bottom: 80px; }
.cta-box { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; border-radius: 26px; overflow: hidden; padding: 56px 56px 0; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 85% 80%, rgba(247, 134, 47, .55), transparent 70%), linear-gradient(160deg, #2a2226, #120f12 60%); }
.cta-copy { padding-bottom: 56px; }
.cta-copy p { color: rgba(255, 255, 255, .72); max-width: 400px; margin: 16px 0 0; }
.cta-copy small { display: block; margin-top: 16px; font-size: 12px; }
.bear { width: 100%; max-width: 420px; justify-self: end; align-self: end; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: sway 5s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 50% { transform: rotate(-2deg) translateY(-4px); } }

.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0 40px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mut); flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; }
.foot nav a:hover { color: #fff; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.stage .reveal:nth-child(2) { transition-delay: .12s; }
.stage .reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .photo { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .sig path { stroke-dashoffset: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .links, .nav-login { display: none; }
  .burger { display: flex; }
  .nav-cta { gap: 10px; }
  .side { width: 240px; }
  .side.left { left: -150px; }
  .side.right { right: -150px; }
  .steps { grid-template-columns: 1fr; }
  .shot { height: 230px; }
  .gifts { grid-template-columns: 1fr; gap: 40px; }
  .cta-box { grid-template-columns: 1fr; padding: 40px 28px 0; }
  .cta-copy { padding-bottom: 10px; }
  .bear { justify-self: center; max-width: 300px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 36px); }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 26px; }
  .hero-copy h1 { font-size: 38px; text-wrap: balance; }
  .hero-copy h1 br { display: none; }
  .hero-copy p { font-size: 14px; }
  .ctas .btn-w, .ctas .btn-g { height: 42px; padding: 0 16px; font-size: 13.5px; }
  .stage { height: 440px; margin-top: 44px; }
  .phone { width: 256px; height: 520px; }
  .side { top: 70px !important; }
  .side.left { left: -200px; }
  .side.right { right: -200px; }
  .hide-sm { display: none; }
  .sec-h { flex-direction: column; align-items: flex-start; gap: 14px; }
  .big { font-size: 21px; }
  .strip { margin-top: 48px; font-size: 14px; }
  .how, .designs, .gifts, .faq, .cta { margin-top: 96px; }
  .tile { width: 180px; }
  .g-panel { padding: 22px; min-height: 0; }
  .amount { font-size: 38px; }
}
