:root {
  --espresso: #16110d;
  --roast: #241a14;
  --cream: #f6ecdc;
  --latte: #e9d8bd;
  --orange: #ff5a1f;
  --lime: #c8f560;
  --ink: #1b1410;
  --muted: #8d7b6a;
  --r: 28px;
  --display: 'Unbounded', system-ui, sans-serif;
  --text: 'Onest', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--text);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul, ol { list-style: none; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4.6vw, 52px); font-weight: 700; }
.eyebrow { font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: 16px; }
.muted { color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--orange); color: #fff; font: 600 16px var(--text); text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(255, 90, 31, .7); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(246, 236, 220, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn-dark { background: var(--espresso); }
.btn-dark:hover { box-shadow: 0 10px 30px -8px rgba(22, 17, 13, .6); }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px max(20px, calc((100% - 1180px) / 2));
  transition: background .3s, backdrop-filter .3s;
  color: var(--cream);
}
.nav.scrolled { background: rgba(22, 17, 13, .82); backdrop-filter: blur(14px); }
.logo { font-family: var(--display); font-weight: 800; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; }
.logo i { color: var(--orange); font-style: normal; }
.logo-cup { font-size: 20px; margin-right: 8px; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* hero */
.hero { position: relative; background: var(--espresso); color: var(--cream); padding: 140px 0 100px; overflow: hidden; }
.hero-bg .bean {
  position: absolute; width: 120px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #4a3326, #2a1d15);
  opacity: .5; animation: float 9s ease-in-out infinite;
}
.hero-bg .bean::after { content: ''; position: absolute; inset: 8% 46% 8% 46%; background: var(--espresso); border-radius: 50%; transform: rotate(14deg); }
.b1 { top: 12%; left: -30px; transform: rotate(30deg); }
.b2 { top: 60%; left: 38%; width: 70px; height: 105px; animation-delay: -3s; }
.b3 { top: 8%; right: 6%; width: 90px; height: 135px; animation-delay: -5s; }
.b4 { bottom: -40px; right: 20%; animation-delay: -2s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -24px; } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; background: rgba(246, 236, 220, .08); margin-bottom: 28px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 245, 96, .6); } 100% { box-shadow: 0 0 0 12px rgba(200, 245, 96, 0); } }
.hero h1 { font-size: clamp(36px, 6vw, 72px); font-weight: 800; margin-bottom: 24px; }
.hl { color: var(--orange); position: relative; white-space: nowrap; }
.hero .lead { font-size: clamp(17px, 2vw, 21px); max-width: 520px; opacity: .8; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-marks { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; opacity: .75; }
.hero-marks li::before { content: '✓'; color: var(--lime); margin-right: 8px; font-weight: 700; }

.hero-phone { position: relative; justify-self: center; }
.phone {
  width: 280px; height: 560px; border-radius: 44px; background: #0b0806; padding: 12px;
  box-shadow: 0 0 0 2px #3a2c22, 0 40px 80px -20px rgba(0, 0, 0, .7), 0 0 120px -20px rgba(255, 90, 31, .35);
  position: relative; transform: rotate(4deg); animation: tilt 7s ease-in-out infinite;
}
@keyframes tilt { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-12px); } }
.phone-lg { width: 300px; height: 600px; transform: none; animation: none; }
.phone-notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 84px; height: 22px; background: #0b0806; border-radius: 99px; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 34px; background: var(--cream); padding: 52px 16px 16px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.app-top { display: flex; flex-direction: column; margin-bottom: 4px; }
.app-top b { font-family: var(--display); font-size: 17px; }
.app-top span { font-size: 13px; color: var(--muted); }
.card-loy { background: var(--espresso); color: var(--cream); border-radius: 22px; padding: 16px; }
.card-loy-head { display: flex; justify-content: space-between; font-size: 13px; opacity: .85; margin-bottom: 12px; }
.card-loy-head b { color: var(--lime); }
.card-loy small { display: block; margin-top: 12px; font-size: 12px; opacity: .7; }
.cups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cups i {
  aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(246, 236, 220, .35);
  display: grid; place-items: center; font-style: normal; font-size: 16px;
}
.cups i.on { background: var(--orange); border: 0; }
.cups i.on::after { content: '☕'; font-size: 15px; filter: grayscale(1) brightness(3); }
.cups i.gift { border-color: var(--lime); }
.app-row { display: flex; justify-content: space-between; background: #fff; padding: 12px 14px; border-radius: 16px; font-size: 14px; }
.app-btn { margin-top: auto; background: var(--orange); color: #fff; text-align: center; padding: 14px; border-radius: 16px; font-weight: 600; font-size: 14px; }

.push {
  position: absolute; display: flex; gap: 10px; align-items: center; width: 270px;
  background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5); font-size: 13px;
  opacity: 0; animation: pushin 8s ease-in-out infinite;
}
.push b { display: block; font-size: 13px; }
.push p { color: #5a4a3d; line-height: 1.3; }
.push-ico { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--espresso); display: grid; place-items: center; font-size: 17px; }
.push-1 { top: 70px; left: -90px; }
.push-2 { bottom: 90px; right: -60px; animation-delay: 4s; }
@keyframes pushin {
  0% { opacity: 0; transform: translateY(-20px) scale(.95); }
  8%, 45% { opacity: 1; transform: none; }
  55%, 100% { opacity: 0; transform: translateY(10px) scale(.98); }
}

/* marquee */
.marquee { background: var(--orange); color: var(--espresso); overflow: hidden; padding: 16px 0; transform: rotate(-1deg); margin: -20px -10px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 28s linear infinite; font-family: var(--display); font-weight: 700; font-size: 18px; white-space: nowrap; }
.marquee-track span::after { content: '✺'; margin-left: 48px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 90px 0 60px; }
.num { padding-left: 20px; border-left: 3px solid var(--orange); }
.num b { display: block; font-family: var(--display); font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; }
.num span { color: var(--muted); font-size: 15px; }

/* problem */
.problem { padding: 40px 0 90px; }
.problem h2 { margin-bottom: 40px; max-width: 760px; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-p { background: var(--latte); border-radius: var(--r); padding: 32px; }
.card-p i { font-style: normal; font-size: 36px; display: block; margin-bottom: 18px; }
.card-p h3 { font-size: 20px; margin-bottom: 10px; }
.card-p p { color: #5d4b3c; }

/* features */
.features { padding: 40px 0 100px; }
.features h2 { margin-bottom: 48px; }
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feat { border-radius: 36px; padding: 40px; min-height: 340px; display: flex; flex-direction: column; transition: transform .35s; }
.feat:hover { transform: translateY(-6px) rotate(-.4deg); }
.feat-n { font-family: var(--display); font-size: 14px; opacity: .55; margin-bottom: 20px; }
.feat h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.feat p { max-width: 460px; opacity: .85; margin-bottom: 24px; }
.f-dark { background: var(--espresso); color: var(--cream); }
.f-orange { background: var(--orange); color: #fff; }
.f-cream { background: #fff; }
.f-lime { background: var(--lime); }
.stamps { margin-top: auto; display: flex; gap: 10px; }
.stamps i { width: 38px; height: 38px; border-radius: 50%; border: 1.5px dashed rgba(246, 236, 220, .4); display: grid; place-items: center; font-style: normal; }
.stamps i.on { background: var(--orange); border: 0; }
.stamps i.gift { border-color: var(--lime); }
.chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.chips span { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .22); font-weight: 600; font-size: 14px; }
.f-lime .chips span { background: rgba(22, 17, 13, .1); }
.mini-push { margin-top: auto; background: var(--cream); padding: 14px 18px; border-radius: 18px; display: flex; flex-direction: column; font-size: 14px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .25); }
.mini-push span { color: var(--muted); }

/* demo */
.demo { background: var(--espresso); color: var(--cream); padding: 100px 0; overflow: hidden; }
.demo-grid { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.demo h2 { margin-bottom: 36px; }
.tabs { display: grid; gap: 12px; max-width: 480px; }
.tab {
  display: flex; flex-direction: column; text-align: left; gap: 2px; cursor: pointer;
  background: rgba(246, 236, 220, .06); color: var(--cream); border: 0; border-radius: 20px;
  padding: 18px 22px; font-family: var(--text); transition: background .25s, transform .25s;
}
.tab b { font-size: 18px; }
.tab span { opacity: .6; font-size: 14px; }
.tab:hover { background: rgba(246, 236, 220, .12); }
.tab.active { background: var(--orange); transform: translateX(10px); }
.tab.active span { opacity: .9; }
.demo-phone { justify-self: center; }
.screens { position: relative; width: 100%; height: 100%; }
.scr { position: absolute; inset: 0; opacity: 0; transform: translateX(30px) scale(.98); transition: opacity .4s, transform .4s; pointer-events: none; }
.scr.active { opacity: 1; transform: none; pointer-events: auto; }
.card-loy.big .cups { gap: 10px; }
.qr { margin-top: auto; align-self: center; width: 120px; height: 120px; border-radius: 16px; background:
  conic-gradient(from 90deg at 25% 25%, var(--ink) 25%, transparent 0) 0 0 / 40px 40px,
  conic-gradient(from 270deg at 75% 75%, var(--ink) 25%, transparent 0) 0 0 / 30px 30px, #fff;
  box-shadow: inset 0 0 0 6px #fff; }
.order-item { display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px; border-radius: 16px; }
.order-item div { flex: 1; display: flex; flex-direction: column; }
.order-item b { font-size: 14px; }
.order-item small { color: var(--muted); font-size: 12px; }
.order-item em { font-style: normal; font-weight: 600; font-size: 14px; }
.o-ico { font-size: 22px; }
.order-total { display: flex; justify-content: space-between; padding: 6px 4px; font-size: 16px; }
.notif { display: flex; gap: 12px; background: #fff; padding: 14px; border-radius: 18px; font-size: 13px; }
.notif b { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.notif p { line-height: 1.35; }
.promo-card { border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 2px; }
.promo-card small { opacity: .7; font-weight: 600; }
.promo-card b { font-family: var(--display); font-size: 28px; }
.promo-card span { font-size: 13px; opacity: .85; }
.promo-card.orange { background: var(--orange); color: #fff; }
.promo-card.dark { background: var(--espresso); color: var(--cream); }
.promo-card.lime { background: var(--lime); }

/* how */
.how { padding: 100px 0; }
.how h2 { margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding-top: 24px; border-top: 3px solid var(--ink); }
.steps li b { font-family: var(--display); font-size: 64px; color: var(--orange); line-height: 1; display: block; margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: #5d4b3c; font-size: 15px; }

/* calc */
.calc { background: var(--latte); padding: 100px 0; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.calc-note { margin-top: 24px; color: #5d4b3c; font-size: 14px; max-width: 420px; }
.calc-box { background: #fff; border-radius: 36px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(22, 17, 13, .35); }
.calc-box label { display: block; font-weight: 600; margin-bottom: 26px; }
.calc-box output { float: right; font-family: var(--display); color: var(--orange); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: var(--latte); margin-top: 14px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; cursor: grab; }
.calc-res { display: grid; gap: 12px; padding-top: 8px; }
.calc-res div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.calc-res b { font-family: var(--display); font-size: 16px; white-space: nowrap; }
.calc-res .bad { color: #b3321a; }
.calc-res .save { margin-top: 8px; padding: 18px 20px; border-radius: 20px; background: var(--espresso); color: var(--cream); align-items: center; }
.calc-res .save b { color: var(--lime); font-size: 24px; }

/* price */
.price { padding: 100px 0; }
.price h2 { margin-bottom: 40px; }
.price-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--espresso); color: var(--cream); border-radius: 44px; overflow: hidden; }
.price-main { padding: 48px; background: var(--orange); color: var(--espresso); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.price-row { display: flex; flex-direction: column; }
.price-row b { font-family: var(--display); font-size: clamp(44px, 6vw, 80px); line-height: 1; }
.price-row span { font-weight: 600; margin-top: 6px; }
.price-plus { font-family: var(--display); font-size: 36px; margin: 8px 0; }
.price-foot { margin: 20px 0 28px; max-width: 320px; font-weight: 500; }
.price-list { padding: 48px; display: grid; gap: 14px; align-content: center; }
.price-list li { padding-left: 32px; position: relative; }
.price-list li::before { content: '✓'; position: absolute; left: 0; color: var(--lime); font-weight: 700; }

/* faq */
.faq { padding: 40px 0 100px; max-width: 860px; }
.faq h2 { margin-bottom: 32px; }
details { border-bottom: 1.5px solid rgba(27, 20, 16, .15); padding: 22px 0; }
summary { cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--orange); font-size: 26px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 14px; color: #5d4b3c; max-width: 680px; }

/* lead */
.lead-sec { background: var(--espresso); color: var(--cream); padding: 100px 0; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lead-sec h2 { margin-bottom: 20px; }
.lead-sec p { opacity: .75; max-width: 420px; margin-bottom: 24px; }
.tg { color: var(--lime); font-weight: 600; text-decoration: none; opacity: 1; }
.form { background: var(--roast); padding: 36px; border-radius: 32px; display: grid; gap: 18px; position: relative; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; opacity: .9; }
.form input:not(.hp) { font: 500 17px var(--text); padding: 16px 18px; border-radius: 16px; border: 1.5px solid transparent; background: var(--espresso); color: var(--cream); outline: none; transition: border-color .2s; }
.form input:focus { border-color: var(--orange); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { width: 100%; }
.form-msg { min-height: 24px; margin: 0; font-size: 14px; text-align: center; opacity: 1; }
.form-msg.ok { color: var(--lime); }
.form-msg.err { color: #ff8a6a; }

/* footer */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 36px 0; font-size: 14px; color: var(--muted); }
.footer .logo { color: var(--ink); }

/* responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { padding-top: 110px; }
  .hero-grid, .demo-grid, .calc-grid, .lead-grid, .price-card, .feat-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .numbers, .steps { grid-template-columns: repeat(2, 1fr); }
  .push-1 { left: -10px; top: 40px; }
  .push-2 { right: -10px; }
  .demo-phone { order: -1; }
  .tab.active { transform: none; }
  .price-main, .price-list { padding: 32px; }
}
@media (max-width: 520px) {
  .numbers, .steps { grid-template-columns: 1fr; }
  .feat { padding: 28px; min-height: 0; }
  .push { width: 230px; font-size: 12px; }
  .push-1 { left: -4px; }
  .phone { width: 250px; height: 500px; }
  .phone-lg { width: 280px; height: 580px; }
  .calc-box, .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
