/* CELEVARA — marketing site (www.celevara.app). Static, framework-free CSS + GSAP for motion. */
:root {
  --plum: #5b1150; --plum-2: #7b1fa2; --magenta: #d81b60; --rose: #ff6b9a; --gold: #d4a437; --gold-l: #f3de9b;
  --cream: #fff8f1; --paper: #fdfbf8; --ink: #1c1120; --muted: #6f6470; --line: #ece4e8; --night: #140a17;
  --r-xl: 32px; --r-lg: 22px; --r-md: 16px;
  --shadow: 0 30px 60px -20px rgba(60, 10, 60, .35);
  --serif: 'Playfair Display', Georgia, serif; --sans: 'Poppins', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { font: 16px/1.65 var(--sans); color: var(--ink); background: var(--paper); overflow-x: hidden }
img { max-width: 100%; display: block }
a { color: inherit }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto }
.serif { font-family: var(--serif); letter-spacing: -.02em; line-height: 1.05 }
.grad { background: linear-gradient(100deg, var(--magenta), var(--plum-2) 45%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; color: transparent }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--magenta) }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: currentColor; border-radius: 2px }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 640px }
section { position: relative; padding: clamp(80px, 10vw, 140px) 0 }

/* ---------- cursor glow + grain */
.glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(216, 27, 96, .14), rgba(123, 31, 162, .08) 40%, transparent 70%); transform: translate(-50%, -50%); transition: opacity .3s }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05;
  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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") }

/* ---------- buttons */
.btn { --bg: var(--ink); --fg: #fff; position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15.5px; text-decoration: none; border: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: box-shadow .3s, transform .2s; will-change: transform }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--magenta), var(--plum-2)); opacity: 0; transition: opacity .35s }
.btn:hover::after { opacity: 1 }
.btn.primary { --bg: var(--plum); box-shadow: 0 14px 30px -10px rgba(91, 17, 80, .6) }
.btn.ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink) }
.btn.ghost:hover { --fg: #fff }
.btn.light { --bg: #fff; --fg: var(--plum) }
.btn.light:hover { --fg: #fff }
.btn svg { width: 18px; height: 18px }

/* store badges (drawn, not images) */
.stores { display: flex; gap: 12px; flex-wrap: wrap }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 16px; border-radius: 14px; background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .18); min-width: 186px; transition: transform .2s, box-shadow .2s }
.store:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5) }
.store svg { width: 26px; height: 26px; flex: none }
.store small { display: block; font-size: 10.5px; letter-spacing: .04em; opacity: .85; line-height: 1.2 }
.store b { display: block; font-size: 18px; font-weight: 600; line-height: 1.15 }
.store.soon { opacity: .75 }

/* ---------- nav */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; transition: top .3s }
.nav .bar { display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 10px 30px -18px rgba(40, 10, 40, .35) }
.nav .logo { display: flex; align-items: center; gap: 10px; text-decoration: none }
.nav .logo img { height: 40px; width: 40px }
.nav .word { font: 700 20px/1 'Playfair Display', serif; letter-spacing: .14em; color: var(--plum) }
.nav .word small { display: block; font: 500 9.5px/1.4 var(--sans); letter-spacing: .08em; color: var(--muted); margin-top: 3px }
.nav .links { display: flex; gap: 26px; margin-left: 8px; font-size: 14.5px; font-weight: 500 }
.nav .links a { text-decoration: none; position: relative }
.nav .links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--magenta); transition: right .25s }
.nav .links a:hover::after { right: 0 }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 10px }
.nav .right .btn { padding: 11px 22px; font-size: 14.5px }
.nav .menu { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer }
.drawer { position: fixed; inset: 0; z-index: 60; background: #140a17; color: #fff; display: grid; place-content: center; gap: 22px; text-align: center;
  opacity: 0; pointer-events: none; transition: opacity .3s }
.drawer.open { opacity: 1; pointer-events: auto }
.drawer a { font: 600 30px var(--serif); text-decoration: none }
.drawer .close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 22px; cursor: pointer }

/* ---------- hero */
.hero { min-height: 100svh; padding: 140px 0 80px; display: flex; align-items: center; overflow: hidden; background: var(--cream) }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: float 18s ease-in-out infinite; pointer-events: none }
.b1 { width: 520px; height: 520px; background: #ffc1d8; top: -120px; left: -140px }
.b2 { width: 460px; height: 460px; background: #e3c8ff; top: 30%; right: -120px; animation-delay: -6s }
.b3 { width: 380px; height: 380px; background: #ffe2a6; bottom: -140px; left: 30%; animation-delay: -12s }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1) } 33% { transform: translate(40px, -30px) scale(1.08) } 66% { transform: translate(-30px, 40px) scale(.95) } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600 }
.chip span { background: var(--plum); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; letter-spacing: .06em }
.hero h1 { font-size: clamp(44px, 6.2vw, 84px); margin: 26px 0 22px }
.hero h1 .line { display: block; overflow: hidden }
.hero h1 .line > span { display: inline-block }
.hero h1 em { font-style: italic }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 30px }
.hero .meta { display: flex; gap: 34px; flex-wrap: wrap }
.hero .meta b { display: block; font: 700 34px var(--serif); color: var(--plum); line-height: 1 }
.hero .meta span { font-size: 13px; color: var(--muted) }

/* phones */
.stage { position: relative; height: 640px; perspective: 1400px }
.phone { position: absolute; width: 260px; height: 540px; border-radius: 40px; padding: 9px; background: linear-gradient(145deg, #2a1a2e, #0c070e);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .08); transform-style: preserve-3d; will-change: transform }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 76px; height: 20px; margin-left: -38px; border-radius: 20px; background: #000; z-index: 3 }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #fff }
.phone iframe { position: absolute; top: 0; left: 0; width: 390px; height: 783px; border: 0; transform: scale(.6205); transform-origin: 0 0; pointer-events: none }
.phone a.hit { position: absolute; inset: 0; z-index: 4; border-radius: 40px }
.phone.p1 { left: 50%; top: 40px; margin-left: -130px; z-index: 3 }
.phone.p2 { left: 0; top: 110px; transform: rotate(-9deg) scale(.86); z-index: 2 }
.phone.p3 { right: 0; top: 90px; transform: rotate(8deg) scale(.86); z-index: 1 }
.tag { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px); box-shadow: 0 18px 40px -16px rgba(40, 10, 40, .4); font-size: 13.5px; animation: bob 5s ease-in-out infinite }
.tag b { display: block; font-size: 14.5px }
.tag i { font-style: normal; font-size: 22px }
.tag.t1 { left: -20px; bottom: 120px }
.tag.t2 { right: -10px; top: 40px; animation-delay: -2.5s }
@keyframes bob { 50% { transform: translateY(-10px) } }

/* ---------- marquee */
.marquee { background: var(--ink); color: #fff; padding: 22px 0; overflow: hidden; transform: rotate(-1.5deg); margin: -30px -10px 0; position: relative; z-index: 2 }
.marquee .track { display: flex; gap: 46px; width: max-content; animation: scroll 40s linear infinite }
.marquee span { font: 600 26px var(--serif); white-space: nowrap; display: inline-flex; align-items: center; gap: 14px }
.marquee span::after { content: '✦'; color: var(--gold); font-size: 18px }
@keyframes scroll { to { transform: translateX(-50%) } }

/* ---------- two ways */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 54px }
.card-x { position: relative; border-radius: var(--r-xl); padding: 40px; overflow: hidden; min-height: 460px; color: #fff; isolation: isolate; text-decoration: none; display: flex; flex-direction: column }
.card-x::before { content: ''; position: absolute; inset: 0; z-index: -2 }
.card-x.video::before { background: radial-gradient(120% 90% at 0% 0%, #ff4f8b, #b0167a 45%, #4a0d44) }
.card-x.site::before { background: radial-gradient(120% 90% at 100% 0%, #2bb18a, #0f5c4a 45%, #10213f) }
.card-x .orb { position: absolute; width: 360px; height: 360px; right: -90px; bottom: -110px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 65%); transition: transform .6s }
.card-x:hover .orb { transform: scale(1.25) translate(-20px, -20px) }
.card-x h3 { font: 700 clamp(30px, 3.4vw, 44px)/1.05 var(--serif); margin: 14px 0 14px }
.card-x p { opacity: .88; max-width: 420px }
.card-x ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 8px }
.card-x li::before { content: '✓'; display: inline-grid; place-content: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .18); margin-right: 10px; font-size: 12px }
.card-x .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600 }
.card-x .go i { display: inline-grid; place-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font-style: normal; transition: transform .3s }
.card-x:hover .go i { transform: rotate(-45deg) }
.badge { display: inline-block; align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: 12px; font-weight: 700; letter-spacing: .1em }

/* ---------- pinned theme showcase */
.showcase { background: var(--night); color: #fff; overflow: hidden }
.showcase .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-height: 100vh }
.showcase .eyebrow { color: var(--gold-l) }
.showcase h2 { font-size: clamp(38px, 5vw, 66px); margin: 18px 0 }
.themes-list { list-style: none; margin-top: 30px; display: grid; gap: 6px }
.themes-list li { padding: 14px 18px; border-radius: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: rgba(255, 255, 255, .55);
  font: 600 22px var(--serif); transition: background .3s, color .3s }
.themes-list li small { font: 500 12.5px var(--sans); letter-spacing: .06em; opacity: .7 }
.themes-list li.on { background: rgba(255, 255, 255, .07); color: #fff }
.themes-list li.on small { color: var(--gold-l); opacity: 1 }
.big-phone { position: relative; justify-self: center; width: 330px; height: 680px; border-radius: 50px; padding: 11px; background: linear-gradient(145deg, #3a2640, #0c070e);
  box-shadow: 0 50px 100px -30px rgba(216, 27, 96, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .1) }
.big-phone .screen { position: relative; width: 100%; height: 100%; border-radius: 40px; overflow: hidden; background: #000 }
.big-phone iframe { position: absolute; inset: 0; width: 390px; height: 778px; border: 0; transform: scale(.79); transform-origin: 0 0; transition: opacity .4s; pointer-events: none; overflow: hidden }
.big-phone .halo { position: absolute; inset: -60px; z-index: -1; border-radius: 50%; background: conic-gradient(from 0deg, #d81b60, #7b1fa2, #d4a437, #d81b60); filter: blur(70px); opacity: .35; animation: spin 12s linear infinite }
@keyframes spin { to { transform: rotate(360deg) } }

/* ---------- features bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 50px }
.tile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; overflow: hidden; transition: transform .3s, box-shadow .3s }
.tile:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(60, 10, 60, .3) }
.tile .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-content: center; font-size: 26px; background: linear-gradient(135deg, #ffe3ee, #f3e5ff) }
.tile h4 { font: 700 22px var(--serif); margin: 18px 0 8px }
.tile p { color: var(--muted); font-size: 15px }
.t-a { grid-column: span 3 } .t-b { grid-column: span 3 } .t-c { grid-column: span 2 } .t-d { grid-column: span 2 } .t-e { grid-column: span 2 }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px }
.langs span { padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 14px }
.big-num { font: 700 84px/1 var(--serif); position: absolute; right: 22px; bottom: 6px; color: var(--line) }

/* ---------- steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 60px; position: relative }
.steps::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px) }
.step { position: relative; text-align: center; padding: 0 10px }
.step .n { position: relative; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-content: center; font: 700 26px var(--serif); color: #fff;
  background: linear-gradient(135deg, var(--magenta), var(--plum-2)); box-shadow: 0 14px 30px -10px rgba(216, 27, 96, .6) }
.step h4 { font-size: 20px; margin-bottom: 8px }
.step p { color: var(--muted) }

/* ---------- pricing */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; align-items: stretch }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; display: flex; flex-direction: column }
.price.hot { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-12px); box-shadow: 0 40px 70px -30px rgba(40, 10, 40, .6) }
.price h4 { font-size: 16px; font-weight: 600 }
.price .amt { font: 700 48px/1 var(--serif); margin: 18px 0 6px }
.price .amt small { font: 500 14px var(--sans); color: var(--muted) }
.price.hot .amt small, .price.hot p { color: rgba(255, 255, 255, .7) }
.price p { color: var(--muted); font-size: 14.5px; margin-bottom: 22px }
.price .btn { margin-top: auto; justify-content: center }
.price .ribbon { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; margin-bottom: 14px }

/* ---------- app download */
.app { background: linear-gradient(120deg, #2a0f2d, #5b1150 55%, #8e1b4a); color: #fff; overflow: hidden; border-radius: 48px; margin: 0 20px; padding: 80px 0 }
.app .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center }
.app h2 { font-size: clamp(38px, 4.6vw, 62px); margin: 16px 0 18px }
.app .lead { color: rgba(255, 255, 255, .8) }
.app .eyebrow { color: var(--gold-l) }
.app .stores { margin-top: 32px }
.app .phone { position: relative; margin: 0 auto; transform: rotate(6deg) }
.app .ring { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .15); top: 50%; left: 50%; transform: translate(-50%, -50%) }
.app .ring.r2 { width: 700px; height: 700px; border-color: rgba(255, 255, 255, .08) }

/* ---------- faq */
.faq { max-width: 860px; margin: 50px auto 0 }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font: 600 19px var(--sans) }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-content: center; background: var(--cream); font-size: 20px; transition: transform .3s }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--plum); color: #fff }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 760px }

/* ---------- final cta + footer */
.final { text-align: center; padding: 140px 0 }
.final h2 { font-size: clamp(46px, 7vw, 104px) }
.final .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px }
footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 80px 0 34px; border-radius: 48px 48px 0 0 }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px }
footer h5 { color: var(--gold-l); font-size: 12px; letter-spacing: .16em; margin-bottom: 16px }
footer a { display: block; text-decoration: none; margin-bottom: 10px; color: rgba(255, 255, 255, .78) }
footer a:hover { color: #fff }
footer .flogo { display: inline-flex; align-items: center; gap: 14px; margin: 0 }
footer .flogo img { width: 54px; height: 54px; background: #fff; border-radius: 16px; padding: 5px }
footer .flogo span { font: 700 26px/1 var(--serif); letter-spacing: .14em; color: #fff }
footer .flogo small { display: block; font: 500 11px/1.5 var(--sans); letter-spacing: .1em; color: var(--gold-l); margin-top: 6px }
footer .brand p { max-width: 330px; margin: 16px 0 22px }
footer .bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(255, 255, 255, .5) }
footer .big { font: 700 clamp(60px, 15vw, 220px)/.8 var(--serif); color: rgba(255, 255, 255, .05); text-align: center; margin-top: 40px; letter-spacing: -.03em; user-select: none }

/* ---------- inner pages (policies etc.) */
.page-hero { padding: 160px 0 60px; background: var(--cream); position: relative; overflow: hidden }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); margin-top: 16px }
.page-hero .lead { margin-top: 14px }
.doc { padding: 60px 0 100px }
.doc .wrap { display: grid; grid-template-columns: 240px 1fr; gap: 60px }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 4px }
.toc a { text-decoration: none; padding: 9px 14px; border-radius: 12px; color: var(--muted); font-size: 14.5px }
.toc a.on, .toc a:hover { background: var(--cream); color: var(--plum); font-weight: 600 }
.prose { max-width: 760px; font-size: 16.5px }
.prose h2 { font: 700 26px var(--serif); margin: 40px 0 10px; color: var(--plum) }
.prose p, .prose ul, .prose table { margin: 0 0 16px }
.prose ul { padding-left: 22px }
.prose li { margin-bottom: 6px }
.prose a { color: var(--magenta) }
.prose table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line) }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line) }
.prose th { background: var(--cream) }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 40px }
.contact-cards a, .contact-cards div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; text-decoration: none }
.contact-cards b { display: block; font: 700 20px var(--serif); margin: 12px 0 4px }
.contact-cards span { color: var(--muted); font-size: 14.5px }
.e404 { min-height: 100svh; display: grid; place-content: center; text-align: center; background: var(--cream); padding: 120px 20px }
.e404 h1 { font: 700 clamp(100px, 22vw, 260px)/1 var(--serif) }

/* ---------- reveal (JS adds .in; content stays visible without JS) */
.js .rv { opacity: 0; transform: translateY(40px) }
.js .rv.in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1) }

/* ---------- responsive */
@media (max-width: 1080px) {
  .hero .wrap, .showcase .wrap, .app .wrap { grid-template-columns: 1fr }
  .stage { height: 600px; max-width: 560px; margin: 0 auto; width: 100% }
  .showcase .wrap { min-height: 0; padding: 40px 0 }
  .prices { grid-template-columns: 1fr 1fr } .price.hot { transform: none }
  .bento { grid-template-columns: 1fr 1fr } .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1 } .t-a { grid-column: span 2 }
}
@media (max-width: 820px) {
  .nav .links, .nav .right .btn.ghost { display: none } .nav .menu { display: inline-grid; place-content: center }
  .split, .steps { grid-template-columns: 1fr } .steps::before { display: none }
  footer .cols { grid-template-columns: 1fr 1fr } .doc .wrap { grid-template-columns: 1fr } .toc { position: static; display: none }
  .contact-cards { grid-template-columns: 1fr } .tag { display: none }
  .phone.p2, .phone.p3 { display: none } .phone.p1 { position: relative; left: auto; margin: 0 auto; top: 0 } .stage { height: auto }
  .app { margin: 0 10px; border-radius: 32px } .app .ring { display: none }
}
@media (max-width: 560px) {
  .prices, .bento { grid-template-columns: 1fr } .t-a { grid-column: span 1 }
  .card-x { padding: 28px; min-height: 0 } .big-phone { width: 290px; height: 600px } .big-phone iframe { transform: scale(.6923) }
  .nav .right .btn.primary { padding: 10px 16px }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } .js .rv { opacity: 1; transform: none } }

/* ================= responsive fixes ================= */
html, body { overflow-x: clip }                 /* nothing may cause sideways scrolling */
@supports not (overflow: clip) { html, body { overflow-x: hidden } }
.marquee { margin: -30px 0 0; width: 100%; transform: none; border-block: 0 }
.marquee-wrap { overflow: hidden; padding: 14px 0; margin-top: -40px; position: relative; z-index: 2 }
.marquee-wrap .marquee { transform: rotate(-1.5deg) scale(1.03); margin: 0 }
.nav .links a, .nav .right .btn { white-space: nowrap }
.hero .meta { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 36px }

/* menu: switch to the hamburger before links start wrapping */
@media (max-width: 1180px) {
  .nav .links, .nav .right .btn.ghost { display: none }
  .nav .menu { display: inline-grid; place-content: center }
}
@media (max-width: 560px) {
  .nav { top: 10px }
  .nav .bar { padding: 8px 8px 8px 12px; gap: 10px }
  .nav .right .btn.primary { display: none }           /* the menu holds "Start creating" */
  .nav .logo img { width: 34px; height: 34px }
  .nav .word { font-size: 17px }
  .nav .word small { font-size: 8.5px }
  .hero { padding: 110px 0 60px; min-height: 0 }
  .hero h1 { margin: 20px 0 16px }
  .hero .ctas .btn { width: 100%; justify-content: center }
  .hero .meta { grid-template-columns: repeat(2, auto); gap: 16px 40px }
  .chip { font-size: 12.5px }
  section { padding: 70px 0 }
  .final { padding: 90px 0 }
  .final .ctas .btn { width: 100% ; justify-content: center }
  footer .cols { grid-template-columns: 1fr 1fr; gap: 28px 20px }
  footer .cols > .brand { grid-column: 1 / -1 }
  footer .bottom { flex-direction: column }
  .stores .store { flex: 1 1 160px; min-width: 0 }
  .app { padding: 60px 0 0 } .app .phone { margin: 30px auto -60px }
  .big-phone { width: min(290px, 100%); height: 600px }
}
@media (max-width: 820px) {
  footer .cols > .brand { grid-column: 1 / -1 }
  .showcase .big-phone { margin-top: 10px }
}
/* drawer menu */
.drawer { padding: 80px 24px 40px; align-content: center; overflow-y: auto }
.drawer a:not(.btn) { font-size: clamp(24px, 7vw, 32px) }
.drawer .btn { margin-top: 10px }
body.menu-open { overflow: hidden }
