/* Home page (visitors only). Light and bright: sky, tea hills, teal #0F776F and amber #FEBF3F.
   The app forces dark mode (theme.js), so the page sets its own light colour tokens on body.lp. Loaded after hover.css. */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/lp/jakarta.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/lp/serif-italic.woff2') format('woff2'); }

html:has(body.lp) { color-scheme: light; background: #062421; } /* the strip past the footer on phones is the footer colour */
body.lp {
  --bg: #f6fbfa; --surface: #fff; --ink: #0d1f1d; --muted: #4b5f5c; --line: #dfe9e7; --brand: #0F776F; --brand-ink: #fff; --brand-soft: #e3f4f1;
  --accent: #FEBF3F; --accent-ink: #1a1300; --hv-bg: #FEBF3F; --hv-ink: #0d1f1d; --sky: #e8f6fb; --deep: #062421; --pad: clamp(16px, 4vw, 72px);
  margin: 0; padding: 0 !important; display: flex; flex-direction: column; min-height: 100svh;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--bg); color: var(--ink);
}
body.lp > main { flex: 1 0 auto; }
.lp a { color: inherit; }
.lp h1, .lp h2, .lp h3 { font-family: inherit; color: var(--ink); }
.lp-wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--pad); }
.lp .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--ink); }
.lp .logo { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* ---------- buttons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 20px; border-radius: 12px; font-weight: 700; font-size: .93rem; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.lp-btn.solid { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(15,119,111,.25); }
.lp-btn.line, .lp-btn.ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.lp-btn.big { padding: 14px 26px; font-size: 1rem; }
@media (hover: hover) and (pointer: fine) {
  body.lp .lp-btn.lp-btn:hover, body.lp .lp-btn.lp-btn:focus-visible { /* doubled class: beats hover.css's ".lp-actions .lp-btn.solid:hover" */ background: var(--accent) !important; border-color: var(--accent) !important; color: var(--accent-ink) !important; transform: translateY(-1px); box-shadow: none; }
  body.lp .lp-links a:hover, body.lp .lp-links a:focus-visible { background: #FEBF3F !important; color: #000 !important; border-color: transparent !important; }
}

/* ---------- top bar: see-through over the hero, solid white once scrolled ---------- */
.lp-top { position: fixed; top: 0; left: 0; right: 0; z-index: 30; transition: background .25s, box-shadow .25s; }
.lp-top.solid { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.lp-bar { display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); }
.lp-bar .lp-links { display: flex; gap: 6px; margin: 0 0 0 auto; flex: none; } /* style.css gives every nav flex: 1, which pulled the links to the logo */
.lp-links a { padding: 8px 12px; border-radius: 10px; font-size: .93rem; font-weight: 600; color: #000; transition: background .2s; text-decoration: none; }
.lp-actions { display: flex; gap: 10px; }

/* ---------- hero (desktop: everything on one screen) ---------- */
.lp-hero { position: relative; height: 100svh; min-height: 680px; display: flex; flex-direction: column; overflow: hidden; padding-top: 72px;
  background: linear-gradient(180deg, var(--sky) 0%, rgba(236,248,250,.97) 40%, rgba(236,248,250,.55) 58%, rgba(236,248,250,0) 74%), url('/lp/hero-tea.jpg') center 78% / cover; }
.lp-hero::before { content: ''; position: absolute; width: 1000px; height: 700px; left: 50%; top: -420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(254,191,63,.28), transparent); pointer-events: none; }
.hero-copy { position: relative; z-index: 3; text-align: center; padding: 0 var(--pad); }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--muted); }
.hero-badge b { background: var(--accent); color: var(--ink); padding: 3px 10px; border-radius: 999px; font-size: .74rem; }
.lp-hero h1 { margin: clamp(10px, 2vh, 20px) 0 0; font-size: clamp(2.4rem, min(5vw, 8vh), 4.8rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.lp-hero h1 em { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; color: var(--brand); letter-spacing: -.01em; }
.hero-lead { max-width: 660px; margin: clamp(8px, 1.6vh, 16px) auto 0; font-size: clamp(.98rem, 2vh, 1.1rem); line-height: 1.55; color: var(--muted); }
.hero-cta { margin-top: clamp(14px, 2.4vh, 24px); display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin: 10px 0 0; font-size: .86rem; color: var(--muted); }
.hero-note b { color: var(--ink); }

/* the receipt prints, gets scanned and fills the phone (lp/scan.js); the phone is cut off by the strip */
.hero-show { position: relative; flex: 1; min-height: 0; margin-top: clamp(14px, 2.6vh, 28px); }
.hero-show .ph { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 280px; height: 560px; z-index: 2; }
.hero-show .printer { position: absolute; left: calc(50% - 480px); top: 0; width: 230px; z-index: 3; }
.flo { position: absolute; z-index: 3; background: #fff; border-radius: 18px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(13,31,29,.16); animation: bob 6s ease-in-out infinite; }
.flo small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.flo b { font-size: 1.15rem; }
.flo.f1 { right: calc(50% - 470px); top: 4px; width: 230px; background: var(--accent); }
.flo.f1 small { color: #5b4510; } .flo.f1 small + b + small { margin-top: 3px; }
.flo.f2 { right: calc(50% - 400px); top: 130px; animation-delay: -3s; }
.flo .up { color: #c2410c; font-weight: 700; font-size: .8rem; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.hero-strip { position: relative; z-index: 4; flex: none; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hl { display: flex; gap: 22px; white-space: nowrap; }
.hl > div { display: flex; gap: 10px; align-items: center; }
.hl i { font-style: normal; width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.hl b { display: block; font-size: .88rem; } .hl span { font-size: .76rem; color: var(--muted); }
.shops { margin-left: auto; display: flex; align-items: center; gap: 22px; color: #8c9a97; font-weight: 800; font-size: .95rem; white-space: nowrap; }
.shops small { color: var(--muted); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 1440px) { .shops { display: none; } }

/* paper receipt coming out of a printer slot */
.printer .slot { position: relative; z-index: 2; height: 14px; border-radius: 8px; background: #1b2624; box-shadow: 0 4px 10px rgba(0,0,0,.25), inset 0 -3px 0 #0c1312; margin: 0 -10px; }
.rc { position: relative; margin-top: -6px; background: #fffef8; padding: 16px 14px 22px; font-family: 'Courier New', ui-monospace, monospace; font-size: .72rem; color: #2b2b2b; box-shadow: 0 22px 40px rgba(0,0,0,.22); clip-path: inset(0 0 100% 0);
  -webkit-mask: linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px) bottom/12px 8px repeat-x;
          mask: linear-gradient(#000 0 0) top/100% calc(100% - 8px) no-repeat, radial-gradient(circle at 6px 0, transparent 5px, #000 5.5px) bottom/12px 8px repeat-x; }
.printed .rc { clip-path: inset(0 0 0 0); transition: clip-path 1.4s steps(18, end); }
.rc h5 { margin: 0; text-align: center; letter-spacing: .14em; font-size: .86rem; color: #2b2b2b; }
.rc .c { text-align: center; color: #888; font-size: .62rem; margin: 2px 0 8px; }
.rc .l { display: flex; justify-content: space-between; gap: 8px; padding: 2px 4px; margin: 0 -4px; border-radius: 3px; transition: background .25s; }
.rc .l.hit { background: rgba(254,191,63,.45); }
.rc hr { border: 0; border-top: 1px dashed #aaa; margin: 7px 0; }
.rc .t { font-weight: 700; font-size: .8rem; }
.rc .beam { position: absolute; left: -4px; right: -4px; height: 3px; top: 18%; background: var(--accent); box-shadow: 0 0 16px 6px rgba(254,191,63,.55); opacity: 0; }
.scanning .rc .beam { opacity: 1; animation: scanbeam 1.3s ease-in-out infinite alternate; }
@keyframes scanbeam { from { top: 16%; } to { top: 82%; } }
.rc .stamp { position: absolute; right: 10px; top: 42%; transform: rotate(-14deg) scale(1.6); border: 2px solid var(--brand); color: var(--brand); background: rgba(255,255,255,.85); font: 700 .72rem/1 system-ui, sans-serif; padding: 5px 8px; border-radius: 6px; opacity: 0; transition: opacity .25s, transform .3s cubic-bezier(.3,1.6,.5,1); }
.done .rc .stamp { opacity: 1; transform: rotate(-14deg) scale(1); }

/* phone */
.ph { position: relative; border-radius: 40px; background: #0d1a18; padding: 9px; box-shadow: 0 30px 60px rgba(0,0,0,.3), 0 0 0 2px #2a3836 inset; }
.ph .scr { position: relative; height: 100%; border-radius: 32px; background: #f5faf9; overflow: hidden; color: var(--ink); }
.ph .notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; border-radius: 20px; background: #0d1a18; z-index: 2; }
.ph .hd { padding: 40px 14px 0; display: flex; justify-content: space-between; align-items: center; }
.ph .hd small { display: block; color: var(--muted); font-size: .66rem; }
.ph .hd b { font-size: .9rem; }
.ph .ok { font-size: .62rem; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; opacity: 0; transform: scale(.8); transition: .3s; }
.done .ph .ok { opacity: 1; transform: none; }
.ph .box { margin: 10px 10px 0; background: #fff; border: 1px solid #e3ebe9; border-radius: 16px; padding: 10px 12px; }
.ph .box .m { font-size: .8rem; font-weight: 700; }
.ph .box .m small { font-weight: 500; color: var(--muted); font-size: .62rem; display: block; }
.ph .row { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .68rem; padding: 6px 0; border-top: 1px solid #eef3f2; opacity: 0; transform: translateX(-10px); }
.ph .row.in { opacity: 1; transform: none; transition: opacity .35s, transform .35s; }
.ph .row span:first-child { display: flex; align-items: center; gap: 6px; }
.ph .row i { font-style: normal; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .55rem; display: grid; place-items: center; flex: none; }
.ph .row em { font-style: normal; font-size: .56rem; padding: 2px 6px; border-radius: 6px; background: #fef3c7; color: #92400e; font-weight: 700; }
.ph .row em.g { background: #dcfce7; color: #166534; } .ph .row em.b { background: #dbeafe; color: #1e40af; }
.ph .sum { display: flex; justify-content: space-between; font-weight: 800; font-size: .8rem; padding-top: 8px; border-top: 1px solid #eef3f2; }
.ph .btn-s { margin: 10px 10px 0; background: var(--brand); color: #fff; text-align: center; font-weight: 700; font-size: .78rem; padding: 10px; border-radius: 12px; }

/* ---------- section headings ---------- */
.lp-how h2, .lp-faq h2, .lp-price h2, .lp-feat h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin: 0 0 26px; }

/* ---------- features ---------- */
.lp-feat { background: #fff; padding: 72px 0; }
.lp-feat-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.feat-list { display: grid; gap: 8px; }
.feat { display: flex; gap: 14px; text-align: left; align-items: flex-start; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; background: transparent; color: var(--ink); cursor: pointer; font: inherit; transition: background .25s, border-color .25s, box-shadow .25s; }
.feat.on { background: var(--bg); border-color: var(--line); box-shadow: 0 10px 26px rgba(15,119,111,.08); }
.feat h3 { margin: 0 0 4px; font-size: 1.08rem; } .feat p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.feat:not(.on) p { display: none; }
.fi { font-size: 1.3rem; line-height: 1; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.feat.on .fi { background: var(--accent); }
.feat-stage { position: relative; border-radius: 24px; padding: 26px; min-height: 390px; overflow: hidden; color: var(--ink); border: 1px solid var(--line);
  background: radial-gradient(500px 260px at 100% 0%, rgba(254,191,63,.22), transparent 70%), linear-gradient(160deg, var(--sky), var(--brand-soft)); }
.feat-progress { position: absolute; left: 26px; right: 26px; top: 14px; height: 3px; background: rgba(15,119,111,.15); border-radius: 3px; overflow: hidden; }
.feat-progress i { display: block; height: 100%; width: 0; background: var(--brand); }
.feat-progress.run i { animation: prog var(--dur, 5.5s) linear forwards; }
@keyframes prog { to { width: 100%; } }
.pane { display: none; padding-top: 14px; animation: fade .5s ease; } .pane.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.mock-title { font-weight: 800; font-size: .98rem; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.pill-live { font-size: .68rem; background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: 99px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .55; } }
.rc.big { clip-path: none; -webkit-mask: none; mask: none; max-width: 320px; margin: 0 auto; border-radius: 8px; font-size: .85rem; overflow: hidden; }
.rc-head { font-weight: 800; font-size: .95rem; text-align: center; border-bottom: 1px dashed #bbb; padding-bottom: 6px; margin-bottom: 6px; } .rc-head small { display: block; font-weight: 500; color: #777; font-size: .65rem; }
.rc-line, .rc-total { display: flex; justify-content: space-between; gap: 6px; padding: 3px 0; }
.pane.on .rc-line, .pane.on .rc-total { opacity: 0; animation: pop .5s ease forwards; }
.pane.on .rc-line:nth-of-type(2) { animation-delay: .4s; } .pane.on .rc-line:nth-of-type(3) { animation-delay: .8s; } .pane.on .rc-line:nth-of-type(4) { animation-delay: 1.2s; } .pane.on .rc-line:nth-of-type(5) { animation-delay: 1.6s; }
.rc-total { border-top: 1px dashed #bbb; margin-top: 4px; padding-top: 6px; font-weight: 800; } .pane.on .rc-total { animation-delay: 2s; }
@keyframes pop { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.scanbeam { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(to bottom, rgba(254,191,63,0), rgba(254,191,63,.55), rgba(254,191,63,0)); animation: beam2 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes beam2 { from { transform: translateY(-40px); } to { transform: translateY(240px); } }
.hbars { display: grid; gap: 14px; background: #fff; border-radius: 16px; padding: 18px; }
.hbars div { display: grid; grid-template-columns: 82px 1fr 92px; gap: 10px; align-items: center; font-size: .84rem; }
.hbars b { text-align: right; font-size: .8rem; }
.hbars i { display: block; height: 11px; width: 0; border-radius: 99px; background: var(--brand); }
.pane.on .hbars i { animation: wide 1.1s cubic-bezier(.2, .8, .2, 1) forwards; }
.hbars div:nth-child(2) i { animation-delay: .1s; } .hbars div:nth-child(3) i { animation-delay: .2s; } .hbars div:nth-child(4) i { animation-delay: .3s; } .hbars div:nth-child(5) i { animation-delay: .4s; }
.hbars .b2 { background: var(--accent); } .hbars .b3 { background: #4f8cff; } .hbars .b4 { background: #d94c8d; } .hbars .b5 { background: #9aa8a4; }
@keyframes wide { to { width: var(--w); } }
.lp .mini { width: 100%; font-size: .84rem; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden; }
.lp .mini th, .lp .mini td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); color: var(--ink); background: transparent; }
.lp .mini th { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.lp .mini tr:last-child td { border-bottom: 0; }
.chip { font-size: .7rem; padding: 2px 8px; border-radius: 99px; background: #eef3f2; } .chip.up { background: #fde2e1; color: #b42318; } .chip.down { background: #dcfce7; color: #166534; } .chip.offer { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.mp { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mp li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; background: #fff; border-radius: 14px; padding: 11px 14px; font-size: .86rem; box-shadow: 0 2px 8px rgba(15,119,111,.06); }
.mp small { display: block; color: var(--muted); font-size: .7rem; } .mp em { font-style: normal; font-size: .68rem; padding: 2px 10px; border-radius: 99px; background: #eef3f2; } .mp em.ok { background: #dcfce7; color: #166534; }
.pane.on .mp li { animation: pop .5s ease both; } .pane.on .mp li:nth-child(2) { animation-delay: .15s; } .pane.on .mp li:nth-child(3) { animation-delay: .3s; } .pane.on .mp li:nth-child(4) { animation-delay: .45s; }

/* ---------- pricing ---------- */
.lp-price { padding: 72px 0 24px; text-align: center; background: linear-gradient(180deg, var(--bg), #fff); }
.price-card { max-width: 440px; margin: 0 auto; background: #fff; border: 2px solid var(--brand); border-radius: 24px; padding: 28px 26px; box-shadow: 0 24px 50px rgba(15,119,111,.14); text-align: left; position: relative; }
.price-card::before { content: 'Most popular'; position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.pc-name { font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.pc-amt { margin: 6px 0 16px; } .pc-amt b { font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; } .pc-amt span { color: var(--muted); margin-left: 6px; }
.price-card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.price-card li { padding-left: 28px; position: relative; font-size: .95rem; }
.price-card li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.price-card .lp-btn { width: 100%; }
.pc-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- how it works ---------- */
.lp-how { padding: 64px 0 48px; text-align: center; background: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.how { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: border-color .2s, transform .2s; }
.how span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.how h3 { margin: 0; font-size: 1.15rem; } .how p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }
.how:hover { border-color: var(--brand); transform: translateY(-2px); }
.how-more { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 24px; }
.how-more span { padding: 7px 15px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 600; color: var(--muted); }
.how-more span:hover { border-color: var(--accent); background: #fff6df; color: var(--ink); }

/* ---------- faq ---------- */
.lp-faq { padding: 56px 0 72px; background: linear-gradient(180deg, #fff, var(--sky)); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 40px; align-items: start; }
.lp-faq h2 { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 40px 16px 12px; border-radius: 10px; position: relative; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; background: var(--accent); color: var(--accent-ink); }
.faq p { margin: 0 12px 16px; color: var(--muted); line-height: 1.6; max-width: 62ch; }
body.lp .faq summary:hover, body.lp .faq summary:focus-visible { background: #fff6df !important; color: var(--ink) !important; }

/* ---------- footer (deep teal) ---------- */
body.lp > .lp-foot { flex: none; margin-top: auto; background: var(--deep); color: #b9cdc8; font-size: .92rem; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); }
.lp-foot .lf-top { display: grid; align-items: start; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, .7fr); gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.lp-foot .brand { color: #fff; font-size: 1.25rem; }
.lf-brand p { margin: 14px 0 0; max-width: 46ch; line-height: 1.6; color: #d5e3df; }
.lf-brand .lf-note { margin-top: 12px; font-size: .78rem; font-style: italic; color: #8fa8a2; }
.lf-col { display: grid; align-content: start; gap: 12px; }
.lf-col h3 { margin: 4px 0 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lp-foot a { color: #d5e3df; text-decoration: none; }
body.lp .lp-foot .lf-col a { justify-self: start; padding: 0; background: none !important; }
body.lp .lp-foot .lf-col a:hover, body.lp .lp-foot .lf-col a:focus-visible { color: var(--accent) !important; background: none !important; }
.lp-foot .lf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; color: #8fa8a2; }
.lf-apps { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.lp-foot .store-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 11px; min-width: 150px; border-radius: 10px; background: #000; border: 1px solid #a6a6a6; color: #fff; line-height: 1.05; transition: border-color .15s, transform .15s; }
.lp-foot .store-badge span { display: grid; }
.lp-foot .store-badge small { font-size: .62rem; letter-spacing: .02em; }
.lp-foot .store-badge b { font-size: 1.12rem; font-weight: 600; }
.lp-foot .store-badge:hover, .lp-foot .store-badge:focus-visible { border-color: var(--accent); transform: translateY(-1px); }

/* ---------- scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.rv.in { opacity: 1; transform: none; }

/* ---------- hamburger (phones): teal button, white page-wide menu ---------- */
.lp-burger { display: none; width: 42px; height: 42px; flex: none; padding: 0; border: 0; border-radius: 12px; background: var(--brand); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 6px 16px rgba(15,119,111,.3); }
.lp-burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.lp-burger.open { background: var(--accent); } .lp-burger.open span { background: var(--accent-ink); }
.lp-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-burger.open span:nth-child(2) { opacity: 0; }
.lp-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.lp .lp-burger:hover { background: var(--accent) !important; } body.lp .lp-burger:hover span { background: var(--accent-ink); }
.lp-menu { display: none; }

/* ---------- phones and narrow windows ---------- */
@media (max-width: 1100px) { .flo.f2 { display: none; } .hero-show .printer { left: calc(50% - 400px); } .flo.f1 { right: calc(50% - 400px); } }
@media (max-width: 860px) {
  .lp-links, .lp-actions { display: none; }
  .lp-burger { display: flex; margin-left: auto; }
  .lp-bar { padding: 10px 16px; }
  .lp-top { background: rgba(255,255,255,.75); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

  /* phone hero: smaller heading, text and buttons so the receipt and phone sit higher */
  .lp-hero { height: auto; min-height: 0; padding-top: 70px; background-image: linear-gradient(180deg, var(--sky) 0%, rgba(236,248,250,.97) 42%, rgba(236,248,250,.4) 62%, rgba(236,248,250,0) 80%), url('/lp/hero-tea-sm.jpg'); background-position: center bottom; }
  .hero-badge { display: none; }
  .lp-hero h1 { margin-top: 6px; font-size: clamp(1.75rem, 8.4vw, 2.3rem); letter-spacing: -.03em; }
  .hero-lead { margin-top: 8px; font-size: .9rem; line-height: 1.5; }
  .hero-cta { margin-top: 14px; gap: 8px; flex-wrap: nowrap; }
  .hero-cta .lp-btn.big { padding: 10px 16px; font-size: .88rem; border-radius: 10px; }
  .hero-cta .long { display: none; }
  .hero-note { margin-top: 8px; font-size: .76rem; }
  .hero-show { flex: none; height: 400px; margin-top: 14px; }
  .hero-show .printer { left: 10px; top: 18px; width: 44%; max-width: 190px; transform: rotate(-3deg); }
  .rc { font-size: .58rem; padding: 12px 10px 18px; } .rc h5 { font-size: .74rem; }
  .hero-show .ph { left: auto; right: 10px; transform: none; width: 54%; max-width: 230px; height: 460px; border-radius: 34px; }
  .ph .scr { border-radius: 27px; }
  .flo { display: none; }
  .hero-strip { padding: 14px 16px; }
  .hl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; white-space: normal; }

  .lp-feat, .lp-how, .lp-price { padding: 48px 0; }
  .lp-feat-grid, .faq-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .feat-stage { min-height: 330px; padding: 22px 16px; }
  .lp-faq h2, .lp-how h2 { text-align: center; }
  .lp-foot .lf-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 36px; padding-bottom: 28px; }
  .lp-foot .lf-brand { grid-column: 1 / -1; }
  .lp-foot .lf-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }

  /* the opened menu fills the screen under the bar; the page behind does not scroll */
  html.lp-menu-open, html.lp-menu-open body { overflow: hidden; }
  html.lp-menu-open .lp-top { position: fixed; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .lp-menu:not([hidden]) { position: fixed; top: var(--lp-menu-top, 62px); left: 0; right: 0; bottom: 0; z-index: 60; display: flex; flex-direction: column; padding: 12px 20px 24px; background: #fff; overflow: hidden; overscroll-behavior: contain; touch-action: none; border-top: 3px solid var(--accent); }
  .lp-menu > a { padding: 15px 4px; font-size: 1.15rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .lp-menu > a.lp-dl, .lp-menu > a[href="/login.html"] { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 13px 16px; border-radius: 12px; border: 0; font-size: 1rem; }
  .lp-menu > a.lp-dl { margin-top: 18px; }
  .lp-menu > a[href="/login.html"] { margin-top: 10px; }
}
@media (max-width: 380px) { .hero-cta .lp-btn.big { padding: 9px 12px; font-size: .82rem; } }

@media (prefers-reduced-motion: reduce) {
  .flo, .scanbeam, .pill-live, .scanning .rc .beam { animation: none; }
  .pane.on .rc-line, .pane.on .rc-total { animation-duration: .01s; animation-delay: 0s !important; opacity: 1; }
  .feat-progress.run i { animation-duration: .01s; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- below the hero: the previous home page look (dark app palette, serif headings, black demo panel, amber accents) ---------- */
.lp-feat, .lp-price, .lp-how, .lp-faq, body.lp > .lp-foot {
  --bg: #0f1514; --surface: #172120; --ink: #e8efed; --muted: #93a5a1; --line: #263431; --brand: #2dd4bf; --brand-soft: #123a36; --accent: #FFBF3F; --accent-ink: #141414;
  color: var(--ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.lp-how h2, .lp-faq h2, .lp-price h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.lp-feat { background: #123a36; padding: 64px 0; }
.lp-price, .lp-how, .lp-faq { background: #0f1514; }
.lp-price { padding: 56px 0 10px; }
.lp-how { padding: 64px 0 40px; }
.lp-faq { padding: 40px 0 64px; }

/* features: the chosen one on a card, the demo on a black panel */
.feat { border: 0; border-radius: 14px; gap: 14px; }
.feat.on { background: var(--surface); border: 0; box-shadow: 0 6px 20px rgba(15,40,36,.1); }
.fi, .feat.on .fi { width: auto; height: auto; background: none; border-radius: 0; font-size: 1.4rem; line-height: 1.2; }
body.lp button.feat.feat:hover:not(.on) { background: #0E756D !important; color: #fff !important; }
.feat-stage { --ink: #f4f1ea; background: #050808; color: #f4f1ea; border: 0; border-radius: 22px; padding: 22px; min-height: 380px; box-shadow: none; }
.feat-progress { left: 22px; right: 22px; top: 12px; background: rgba(255,255,255,.12); }
.feat-progress i { background: var(--accent); }
.mock-title { font-weight: 700; font-size: .95rem; }
.rc.big { box-shadow: 0 14px 34px rgba(0,0,0,.35); }
.hbars { background: none; padding: 0; border-radius: 0; }
.hbars i { background: #0f766e; } .hbars .b2 { background: #FFBF3F; }
.lp .mini { background: none; border-radius: 0; }
.lp .mini th { color: #9db0ab; border-color: rgba(255,255,255,.14); }
.lp .mini td { color: #f4f1ea; border-color: rgba(255,255,255,.1); }
.chip { background: rgba(255,255,255,.12); } .chip.up { background: #5b1f1f; color: #ffb4ab; } .chip.down { background: #17402a; color: #8ee7ad; }
.mp li { background: rgba(255,255,255,.07); box-shadow: none; border-radius: 12px; padding: 10px 14px; }
.mp small { color: #9db0ab; } .mp em { background: rgba(255,255,255,.14); } .mp em.ok { background: #17402a; color: #8ee7ad; }

/* price card: dark card, amber border and button */
.price-card { background: var(--surface); border: 2px solid var(--accent); border-radius: 22px; padding: 26px 24px; max-width: 420px; box-shadow: 0 18px 44px rgba(15,40,36,.12); }
.price-card::before { content: none; }
.pc-amt b { font-family: Georgia, "Times New Roman", serif; font-weight: 600; }
.price-card li::before { background: var(--accent); color: var(--accent-ink); }
.price-card .lp-btn.solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 2px 0 rgba(0,0,0,.18); }
@media (hover: hover) and (pointer: fine) { body.lp .price-card .lp-btn.lp-btn:hover { background: #0E756D !important; border-color: #0E756D !important; color: #fff !important; } }

/* how it works and FAQ */
.how { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.how span { width: 30px; height: 30px; }
.how:hover { border-color: var(--accent); transform: none; }
.how-more span { background: var(--surface); color: var(--ink); }
.how-more span:hover { background: color-mix(in srgb, #FFBF3F 40%, var(--surface)); border-color: var(--accent); color: var(--ink); }
.faq summary::after { border: 2px solid var(--ink); background: none; color: var(--ink); right: 4px; }
.faq details[open] summary::after { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
body.lp .faq summary:hover, body.lp .faq summary:focus-visible { background: #0E756D !important; color: #fff !important; }
body.lp .faq summary:hover::after { border-color: currentColor; }

/* ---------- footer: same font as the top of the page, amber logo, link columns on warm highlighted cards ---------- */
body.lp > .lp-foot { font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.lp-foot .logo { background: #FEBF3F; color: #000; }
.lp-foot .lf-col { gap: 10px; padding: 20px 22px; border-radius: 16px; background: linear-gradient(160deg, rgba(254,191,63,.10), rgba(254,191,63,.03)); border: 1px solid rgba(254,191,63,.22); border-top: 3px solid #FEBF3F; }
.lp-foot .lf-col h3 { margin: 0 0 4px; font-weight: 800; color: #FEBF3F; }
body.lp .lp-foot .lf-col a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
body.lp .lp-foot .lf-col a::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #2dd4bf; flex: none; transition: background .2s, transform .2s; }
body.lp .lp-foot .lf-col a:hover::before, body.lp .lp-foot .lf-col a:focus-visible::before { background: #FEBF3F; transform: scale(1.4); }
body.lp .lp-foot .lf-col a[hidden] { display: none; } /* the contact link stays hidden until an address is set */

/* ---------- pricing (now shown beside the FAQ): soft glow, a faint dot pattern, a short line under the heading ---------- */
.lp-price { position: relative; overflow: hidden; padding-bottom: 64px;
  background: radial-gradient(520px 360px at 50% 58%, rgba(254,191,63,.13), transparent 70%), radial-gradient(700px 420px at 15% 10%, rgba(45,212,191,.08), transparent 70%), radial-gradient(700px 420px at 85% 90%, rgba(45,212,191,.07), transparent 70%), #0f1514; }
.lp-price::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.lp-price .lp-wrap { position: relative; }
.lp-price h2 { margin-bottom: 8px; }
.pr-sub { margin: 0 0 26px; color: var(--muted); font-size: 1rem; }

/* footer: link columns without a card; the whole footer gets one soft gradient instead (warm glow behind the links, teal light under the brand) */
.lp-foot .lf-col { padding: 0; border: 0; border-radius: 0; background: none; }
body.lp > .lp-foot { position: relative;
  background: radial-gradient(700px 340px at 78% 0%, rgba(254,191,63,.10), transparent 70%), radial-gradient(800px 420px at 0% 100%, rgba(45,212,191,.10), transparent 70%), linear-gradient(170deg, #0b302b 0%, #062421 55%, #041c19 100%); }
body.lp > .lp-foot::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(254,191,63,.55), rgba(45,212,191,.45), transparent); }

/* price card on the left, the FAQ on the right, in one section that keeps the pricing glow and dots */
.lp-pf { position: relative; overflow: hidden; padding: 64px 0 72px;
  background: radial-gradient(520px 420px at 22% 55%, rgba(254,191,63,.13), transparent 70%), radial-gradient(700px 420px at 90% 10%, rgba(45,212,191,.07), transparent 70%), #0f1514; }
.lp-pf::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 25% 50%, #000 25%, transparent 70%); mask-image: radial-gradient(ellipse at 25% 50%, #000 25%, transparent 70%); pointer-events: none; }
.pf-grid { position: relative; display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lp-pf h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
.pf-price .pr-sub { margin: 0 0 22px; }
.pf-price .price-card { max-width: none; margin: 0; }
.pf-faq h2 { margin-bottom: 14px; }
@media (max-width: 860px) {
  .lp-pf { padding: 48px 0; }
  .pf-grid { grid-template-columns: 1fr; gap: 44px; }
  .lp-pf h2, .pf-price .pr-sub { text-align: center; }
}

/* features: the selected one (it moves along as the demo rotates) is amber with dark text, also while the mouse is over it */
body.lp .feat.on, body.lp button.feat.on:hover { background: #FEBF3F !important; color: #141414 !important; box-shadow: 0 10px 26px rgba(254,191,63,.22); }
body.lp .feat.on h3 { color: #141414; }
body.lp .feat.on p { color: #3d2f0b; }

/* menu links (Features, How it works, Pricing, FAQ) land with the section's top just under the fixed bar, not hidden behind it */
html:has(body.lp) { scroll-padding-top: 70px; scroll-behavior: smooth; }
@media (max-width: 860px) { html:has(body.lp) { scroll-padding-top: 62px; } }
@media (prefers-reduced-motion: reduce) { html:has(body.lp) { scroll-behavior: auto; } }

/* phones: hide the page links again (the ".lp-bar .lp-links" rule above outranked the phone rule), hamburger on the right;
   hero: receipt and phone further apart, the phone drawn at full size and scaled down so the whole phone shows */
@media (max-width: 860px) {
  .lp-bar .lp-links { display: none; }
  .lp-burger { margin-left: auto; }
  .hero-show { height: 372px; margin-top: 18px; }
  .hero-show .printer { left: 14px; top: 34px; width: 40%; max-width: 172px; }
  .hero-show .ph { left: auto; right: 14px; top: 6px; width: 250px; max-width: none; height: 512px; border-radius: 40px; transform: scale(.68); transform-origin: top right; }
  .hero-show .ph .scr { border-radius: 32px; }
}
@media (min-width: 480px) and (max-width: 860px) {
  .hero-show { height: 430px; }
  .hero-show .ph { right: 8%; transform: scale(.8); }
  .hero-show .printer { left: 8%; max-width: 200px; }
}

/* phones: the app's side padding on <main> left a white strip down both edges; the home page sections run edge to edge.
   The open menu has no amber line under the bar. */
body.lp > main { padding: 0; margin: 0; max-width: none; }
@media (max-width: 860px) { .lp-menu:not([hidden]) { border-top: 0; } }
/* phones: smaller App Store / Google Play badges in the footer */
@media (max-width: 860px) {
  .lf-apps { gap: 10px; }
  .lp-foot .store-badge { min-width: 0; padding: 5px 11px 5px 9px; gap: 7px; border-radius: 8px; }
  .lp-foot .store-badge svg { width: 18px; height: 18px; }
  .lp-foot .store-badge small { font-size: .55rem; }
  .lp-foot .store-badge b { font-size: .95rem; }
}
/* hamburger colours swapped: amber with dark lines when closed, teal with white lines when pressed or open (the X) */
.lp-burger { background: #FEBF3F; box-shadow: 0 6px 16px rgba(254,191,63,.35); }
.lp-burger span { background: #141414; }
body.lp .lp-burger:hover, body.lp .lp-burger:active, body.lp .lp-burger.open { background: #0F776F !important; box-shadow: 0 6px 16px rgba(15,119,111,.3); }
body.lp .lp-burger:hover span, body.lp .lp-burger:active span, body.lp .lp-burger.open span { background: #fff; }
/* hover.css paints every hovered button amber with a stronger selector; this one is stronger still, so the hamburger turns teal on hover */
body.lp button.lp-burger.lp-burger.lp-burger:hover { background: #0F776F !important; border-color: #0F776F !important; }

/* invite link: the code, to type into the app's sign-up */
body.lp .lp-invite { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 12px; padding: 6px 12px; border-radius: 99px; background: rgba(254,191,63,.18); border: 1px solid rgba(254,191,63,.55); color: #0d1f1d; font-size: .86rem; }
body.lp .lp-invite b { letter-spacing: .08em; } body.lp .lp-invite span { color: #4b5f5c; font-size: .8rem; }

/* Monifyx: the mark (a rising M with a teal coin) inside the amber logo tiles */
.mfx-mark { display: block; width: 72%; height: 72%; margin: auto; color: #0F1413; }
.logo, .logo-big, .ae-logo b { display: inline-grid; place-items: center; }
.boot-dot { fill: #0F776F; }

/* the website logo: the full Monifyx mark (light M and a gold coin stack) on a deep teal tile, then "Monify" with an amber x */
.lp .mfx-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.lp .mfx-tile, .lp-foot .mfx-tile { width: 46px; height: 46px; border-radius: 13px; background: #0F776F !important; display: grid; place-items: center; flex: none; }
.lp .mfx-tile svg { width: 84%; height: 84%; display: block; }
.lp .mfx-word { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: inherit; }
.lp .mfx-word em { font-style: normal; color: #FFBF3F; }
@media (max-width: 640px) { .lp .mfx-tile { width: 38px; height: 38px; border-radius: 11px; } .lp .mfx-word { font-size: 1.3rem; } }

.mfx-mark { width: 86% !important; height: 86% !important; }
.lp .mfx-tile svg { width: 88%; height: 88%; }
/* the logo tile is as tall as the word Monifyx beside it */
.lp .mfx-brand { font-size: 1.6rem; gap: .35em; }
.lp .mfx-brand .mfx-tile { width: 1.05em !important; height: 1.05em !important; border-radius: .26em !important; }
.lp .mfx-brand .mfx-word { font-size: 1em !important; }
@media (max-width: 640px) { .lp .mfx-brand { font-size: 1.3rem; } }
/* the home page logo: the amber tile with the dark M and teal dot (as brand/monifyx-icon-amber.svg) */
.lp .mfx-tile, .lp-foot .mfx-tile { background: #FFBF3F !important; }
