:root {
  --cream: #F6F3EC;
  --paper: #FFFDF8;
  --ink: #1A1B17;
  --ink2: rgba(26, 27, 23, 0.64);
  --ink3: rgba(26, 27, 23, 0.40);
  --line: rgba(26, 27, 23, 0.08);
  --olive: #4C6444;
  --olive-deep: #2F3F2A;
  --olive-soft: rgba(76, 100, 68, 0.10);
  --sea: #3E6FE0;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --serif: "Noto Serif Display", "Noto Serif", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: 0.035;
  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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }

/* ---------- Floating nav ---------- */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 7px 7px 18px; border-radius: 999px;
  background: rgba(255, 253, 248, 0.72); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 0 0 1px var(--line), 0 12px 40px -16px rgba(30, 40, 25, 0.25);
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; margin-right: 10px; }
.brand img { width: 24px; height: 24px; }
.brand span { color: var(--olive); }
.nav a.link { text-decoration: none; color: var(--ink2); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 999px; transition: color .4s var(--ease), background .4s var(--ease); }
.nav a.link:hover { color: var(--ink); background: var(--olive-soft); }
.nav .cta { margin-left: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 7px 7px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .dot {
  width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center;
  transition: transform .5s var(--ease);
}
.btn:hover .dot { transform: translate(2px, -1px) scale(1.06); }
.btn-dark { background: var(--olive-deep); color: #F6F3EC; }
.btn-dark .dot { background: rgba(246, 243, 236, 0.14); }
.btn-dark:hover { background: #24321F; }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-ghost .dot { background: var(--olive-soft); color: var(--olive); }
.btn-small { padding: 5px 5px 5px 16px; font-size: 14px; }
.btn-small .dot { width: 30px; height: 30px; }
.badge-store { display: inline-block; height: 52px; transition: transform .5s var(--ease); }
.badge-store img { height: 100%; width: auto; }
.badge-store:hover { transform: translateY(-2px); }
.badge-store:active { transform: scale(0.98); }

/* ---------- Eyebrow & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--paper); box-shadow: 0 0 0 1px var(--line);
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink2);
}
.eyebrow i { width: 22px; height: 22px; border-radius: 999px; background: var(--olive-soft); display: grid; place-items: center; font-style: normal; }
.eyebrow i img { width: 14px; height: 14px; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: 0.96; }
h2 { font-size: clamp(38px, 5vw, 68px); line-height: 1.0; }
h1 em, h2 em { font-style: italic; color: var(--olive); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink2); max-width: 34ch; margin: 26px 0 36px; }
section { padding: clamp(96px, 12vw, 160px) 0; }

/* ---------- Hero ---------- */
.hero-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.app-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -18px rgba(30,40,25,.45); margin-bottom: 26px; }
.hero-center h1 { margin-top: 22px; }
.hero-center .lead { margin-left: auto; margin-right: auto; max-width: 40ch; }
.hero-center .actions, .hero-center .meta { justify-content: center; }
.hero-center .stage { width: min(900px, 100%); height: 640px; margin-top: 70px; }
.f4 { width: 170px; right: 6%; top: 40px; transform: rotate(-6deg); animation-delay: -1.2s; }
.hero { padding-top: clamp(140px, 16vw, 190px); padding-bottom: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 { margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.meta { margin-top: 28px; display: flex; gap: 22px; color: var(--ink3); font-size: 14px; font-weight: 600; }
.meta b { color: var(--ink); font-weight: 800; }

.stage { position: relative; height: 680px; }
.phone {
  position: absolute; width: 300px; aspect-ratio: 506 / 1100;
  border-radius: 54px; padding: 10px; background: #111;
  box-shadow: 0 0 0 1px rgba(0,0,0,.5), inset 0 0 0 2px #2a2a2a, 0 60px 120px -40px rgba(30, 40, 25, .45), 0 24px 50px -30px rgba(30, 40, 25, .4);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 44px; }
.stage .phone { left: 50%; top: 0; transform: translateX(-50%) rotate(-2deg); }
.float {
  position: absolute; z-index: 2; text-align: center;
  filter: drop-shadow(0 22px 26px rgba(30, 40, 25, .22)) drop-shadow(0 3px 5px rgba(30, 40, 25, .15));
  animation: bob 7s var(--ease) infinite alternate;
}
.float img { width: 100%; height: auto; }
.float .word {
  display: inline-block; margin-top: -10px; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--ink);
  -webkit-text-stroke: 7px #fff; paint-order: stroke fill;
}
.float .tr { display: block; font-size: 13px; font-weight: 700; color: var(--olive); }
.f1 { width: 170px; left: 8%; top: 70px; transform: rotate(-8deg); }
.f2 { width: 180px; right: 4%; top: 330px; transform: rotate(7deg); animation-delay: -2.5s; }
.f3 { width: 170px; left: 4%; bottom: 60px; transform: rotate(5deg); animation-delay: -4s; }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -14px; } }

/* ---------- Marquee ---------- */
.marquee { padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--paper); }
.track { display: flex; gap: 56px; width: max-content; animation: slide 46s linear infinite; }
.chip { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.chip img { width: 64px; height: 64px; object-fit: contain; }
.chip b { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.chip span { display: block; font-size: 13px; color: var(--ink3); font-weight: 600; }
.chip .tr { color: var(--olive); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Bezel cards ---------- */
.shell { padding: 8px; border-radius: 36px; background: rgba(26, 27, 23, 0.035); box-shadow: inset 0 0 0 1px var(--line); }
.core { height: 100%; border-radius: 28px; background: var(--paper); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(30,40,25,.04); padding: 34px; position: relative; overflow: hidden; }

/* ---------- How it works ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; }
.section-head p { color: var(--ink2); font-size: 19px; max-width: 40ch; margin: 0; justify-self: end; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(200px, auto); gap: 18px; }
.b-big { grid-column: span 7; grid-row: span 2; }
.b-side { grid-column: span 5; }
.step { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--olive); }
.step span { width: 26px; height: 26px; border-radius: 999px; background: var(--olive-soft); display: grid; place-items: center; letter-spacing: 0; }
.core h3 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.08; letter-spacing: -0.02em; margin: 16px 0 10px; }
.core p { color: var(--ink2); margin: 0; max-width: 40ch; }
.b-big .core { display: grid; grid-template-columns: 1fr 250px; gap: 28px; align-items: end; padding-bottom: 0; }
.b-big .phone { position: relative; width: 250px; margin-bottom: -60px; border-radius: 46px; }
.b-big .phone img { border-radius: 37px; }
.glyph { width: 52px; height: 52px; color: var(--olive); }
.mini-stickers { display: flex; margin-top: 22px; }
.mini-stickers img { width: 74px; height: 74px; object-fit: contain; margin-right: -14px; filter: drop-shadow(0 8px 10px rgba(30,40,25,.18)); }
.mini-stickers img:nth-child(odd) { transform: rotate(-6deg); }
.mini-stickers img:nth-child(even) { transform: rotate(5deg); }

/* ---------- Features (cards with cropped phones) ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat .core { padding: 38px 38px 0; display: flex; flex-direction: column; min-height: 600px; }
.feat-text h3 { margin-top: 14px; }
.feat-phone { margin-top: auto; display: flex; justify-content: center; align-items: flex-start; height: 360px; overflow: hidden; padding-top: 30px; }
.feat-phone .phone { position: relative; flex: 0 0 auto; width: 270px; height: auto; transition: transform .9s var(--ease); }
.feat:hover .feat-phone .phone { transform: translateY(-14px); }
.grove-stickers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.grove-stickers img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0,0,0,.35)); }
.grove-stickers img:nth-child(odd) { transform: rotate(-6deg); }
.grove-stickers img:nth-child(even) { transform: rotate(5deg) translateY(16px); }

/* ---------- Showcase ---------- */
.showcase { background: var(--olive-deep); color: #F1EFE8; border-radius: 48px; margin: 0 20px; position: relative; overflow: hidden; }
.showcase::before { content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%; background: radial-gradient(closest-side, rgba(143,176,124,.28), transparent); pointer-events: none; }
.showcase .eyebrow { background: rgba(255,255,255,.06); color: rgba(241,239,232,.7); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.showcase .eyebrow i { background: rgba(255,255,255,.1); }
.showcase h2 em { color: #A9C796; }
.showcase-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.showcase p.lead { color: rgba(241,239,232,.72); }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 10px; }
.stages div { border-radius: 22px; padding: 18px 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); text-align: center; }
.stages img { width: 44px; height: 44px; margin: 0 auto 8px; filter: invert(84%) sepia(16%) saturate(500%) hue-rotate(50deg); }
.stages b { display: block; font-size: 15px; }
.stages span { font-size: 12px; color: rgba(241,239,232,.55); }
.phones { position: relative; height: 640px; }
.phones .phone { width: 280px; }
.phones .p1 { left: 4%; top: 40px; transform: rotate(-5deg); }
.phones .p2 { right: 4%; top: 0; transform: rotate(4deg); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 980px; margin: 0 auto; }
.plan .core { padding: 40px; }
.plan h3 { font-family: var(--sans); font-weight: 800; font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.price { font-family: var(--serif); font-size: 56px; line-height: 1; margin: 18px 0 6px; letter-spacing: -0.03em; }
.price small { font-family: var(--sans); font-size: 16px; color: var(--ink3); font-weight: 600; letter-spacing: 0; }
.plan .sub { color: var(--ink2); font-size: 15px; min-height: 48px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.plan li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 999px; background: var(--olive-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234C6444' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; margin-top: 2px; }
.plan.pro .core { background: linear-gradient(180deg, #FFFDF8, #F1F4EC); }
.ribbon { position: absolute; top: 28px; right: 28px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--olive); color: #fff; }
.wreath { position: absolute; right: -40px; bottom: -40px; width: 220px; opacity: .08; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { list-style: none; cursor: pointer; font-family: var(--serif); font-size: 26px; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; color: var(--olive); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink2); margin: 12px 0 0; max-width: 62ch; }

/* ---------- Final CTA & footer ---------- */
.meander { height: 26px; background: url(img/meander.svg) repeat-x left center / auto 26px; opacity: .9; }
.final { text-align: center; }
.final h2 { margin: 28px auto 0; max-width: 14ch; }
.final .lead { margin-left: auto; margin-right: auto; }
.final .actions { justify-content: center; }
footer { padding: 40px 0 60px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; color: var(--ink3); font-size: 14px; font-weight: 600; }
footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
footer a { text-decoration: none; color: var(--ink2); }
footer a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .float, .track { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav a.link { display: none; }
  .hero-grid, .showcase-grid, .section-head, .plans { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .stage { height: 600px; margin-top: 20px; }
  .stage .phone { width: 260px; }
  .f1 { width: 120px; left: 0; top: 40px; }
  .f2 { width: 130px; right: 0; top: 280px; }
  .f3 { width: 110px; bottom: 10px; }
  .float .word { font-size: 19px; }
  .features { grid-template-columns: 1fr; }
  .feat .core { min-height: 0; padding: 28px 24px 0; }
  .feat-phone { height: 320px; }
  .feat-phone .phone { width: 230px; }
  .hero-center .stage { height: 560px; margin-top: 40px; }
  .f4 { width: 120px; right: 0; top: 10px; }
  .b-big, .b-side { grid-column: auto; grid-row: auto; }
  .b-big .core { grid-template-columns: 1fr; }
  .b-big .phone { margin: 10px auto -60px; }
  .showcase { margin: 0 10px; border-radius: 36px; }
  .phones { height: 520px; }
  .phones .phone { width: 210px; }
  .phones .p1 { left: 0; }
  .phones .p2 { right: 0; }
  .stages { grid-template-columns: repeat(2, 1fr); }
  .core { padding: 26px; }
  .faq summary { font-size: 21px; }
}

/* ---------- v2 additions ---------- */
.static .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.brand img { border-radius: 7px; }
.nav a.lang { color: var(--olive); }
.section-head h2 { margin-top: 22px; }
.float img { width: 100%; height: auto; }
.words { padding-top: 0; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.tile { margin: 0; padding: 22px 14px 18px; border-radius: 28px; background: var(--paper); box-shadow: 0 0 0 1px var(--line); text-align: center; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 0 0 1px var(--line), 0 30px 50px -30px rgba(30,40,25,.35); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(30,40,25,.16)); }
.tile b { display: block; margin-top: 10px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.tile span { display: block; font-size: 13px; color: var(--ink3); font-weight: 600; }
.tile span.tr { color: var(--olive); }
.faq-section { padding-top: 0; }
.faq h2 { margin: 22px 0 30px; }
.final { padding-top: 40px; }
.final-stickers { display: flex; justify-content: center; gap: 8px; margin-bottom: 10px; }
.final-stickers img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(30,40,25,.2)); }
.final-stickers img:nth-child(1) { transform: rotate(-9deg); }
.final-stickers img:nth-child(2) { transform: translateY(-14px); }
.final-stickers img:nth-child(3) { transform: rotate(8deg); }
.meander { margin-top: 20px; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nav a.lang { display: inline-block; padding: 8px 8px; }
  .final-stickers img { width: 86px; height: 86px; }
}

.brand b { font-weight: 800; }

.nav a.lang { margin-left: 6px; }
@media (max-width: 900px) { .brand { margin-right: 4px; } }
