/* Homepage-only look: light, matching the in-app landing page.
   Loaded after site.css by index.html ONLY, so the blog and the other landing
   pages keep their existing style. Everything is scoped under body.home. */

/* --muted is darker than site.css (#64748B): that grey is 4.48:1 on the soft
   bands, just under the 4.5:1 minimum for small text. #5B6B80 is 5.12:1. */
body.home{--tint:rgba(79,70,229,.08);--muted:#5B6B80}

/* buttons: flat indigo instead of the gradient */
.home .btn-primary{background:var(--indigo);box-shadow:0 8px 22px rgba(79,70,229,.24)}
.home .btn-primary:hover{background:#4338CA;box-shadow:0 12px 28px rgba(79,70,229,.32)}
.home .plan .tag{background:var(--indigo)}

/* ── hero ─────────────────────────────────────────────────────────────── */
.home .hero{background:#fff;color:var(--ink);padding:72px 0 84px}
.home .hero::before{
  background:radial-gradient(680px 360px at 88% 0%,rgba(79,70,229,.08),transparent 65%)}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.home .hero h1{max-width:none;font-size:clamp(2rem,4.2vw,3.1rem);font-weight:800;line-height:1.1;letter-spacing:-.03em;text-wrap:balance}
.home .hero h1 .acc{color:var(--indigo)}
.home .hero .sub{color:var(--body)}
.home .ticks{color:var(--muted)}
.home .ticks svg{color:var(--indigo)}

/* Sample kitchen-display card: shows the ticket-ageing stages the product really has */
.hero-card{background:var(--bg-soft);border:1px solid var(--line);border-radius:20px;
  padding:20px;box-shadow:0 30px 60px -30px rgba(15,23,42,.25)}
.hc-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.hc-name{font-size:.8125rem;font-weight:700;color:var(--ink)}
.samp{font-size:.6875rem;font-weight:700;color:var(--muted);background:#fff;
  border:1px solid var(--line);padding:3px 9px;border-radius:999px;letter-spacing:.02em}
.hc-rows{display:grid;gap:8px}
.hc-row{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);
  border-radius:12px;padding:11px 12px}
/* border thickness escalates with age (as in the app), so it does not rely on colour alone */
.hc-row.due{border:2px solid #B45309;padding:10px 11px}
.hc-row.late{border:3px solid #B91C1C;padding:9px 10px}
.hc-row > div{flex:1;min-width:0}
.hc-row b{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font-size:.8125rem;font-weight:700}
.hc-row > div > span{display:block;font-size:.75rem;color:var(--muted);margin-top:2px}
.hc-row em{font-style:normal;font-weight:700;font-size:.8125rem}
.hero-card .pillx{font-size:.6875rem;padding:3px 9px}
.age{display:inline-flex;align-items:center;gap:4px;font-size:.6875rem;font-weight:800;
  line-height:1;padding:3px 7px;border-radius:7px;white-space:nowrap}
.age svg{flex:none}
.age.fresh{color:var(--muted);padding-left:0;font-weight:700}
.age.due{color:#B45309;border:1.5px solid #B45309;padding:2px 6px}
.age.late{background:#B91C1C;color:#fff}
.hc-legend{margin:14px 0 0;text-align:center;font-size:.75rem;color:var(--muted)}

/* ── stats strip + tech row ───────────────────────────────────────────── */
.home .strip{background:var(--bg-soft);color:var(--ink);padding:30px 0 26px;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.home .strip b{color:var(--ink)}
.home .strip small{color:var(--muted)}

/* ── headings, cards ──────────────────────────────────────────────────── */
.home .head.ctr{margin-inline:auto;text-align:center;max-width:760px}
.home .head.ctr h2{text-wrap:balance}
.home .head.ctr p{max-width:60ch;margin-inline:auto}
.home .card .ic{background:var(--tint)}
.home .card:hover{box-shadow:0 16px 34px -16px rgba(79,70,229,.2)}

/* ── how it works: centred steps with a round icon and number badge ───── */
.home .steps{gap:36px}
.home .step{background:none;border:0;border-radius:0;padding:0;text-align:center}
.home .step::before{display:none}
.sic{position:relative;width:64px;height:64px;border-radius:50%;background:var(--tint);
  color:var(--indigo);display:flex;align-items:center;justify-content:center;margin:0 auto 18px}
.sic b{position:absolute;top:-3px;right:-3px;width:22px;height:22px;border-radius:50%;
  background:var(--indigo);color:#fff;font-size:12px;font-weight:700;line-height:1;
  display:flex;align-items:center;justify-content:center}
.home .step h3{margin-top:0}
.home .step p{max-width:34ch;margin-inline:auto}

/* ── final call to action: an indigo card, not a full-bleed navy band ─── */
.home .cta{background:#fff;color:var(--ink);padding:72px 0 88px}
.home .cta::before{display:none}
.cta-card{background:
    radial-gradient(520px 240px at 50% 0%,rgba(255,255,255,.14),transparent 70%),
    var(--indigo);
  color:#fff;border-radius:24px;padding:60px 32px}
.cta-card h2{color:#fff}
.home .cta .cta-card p{color:rgba(255,255,255,.88)}

/* ── footer: light, keeps the internal-link columns ───────────────────── */
.home footer{background:#fff;color:var(--muted);border-top:1px solid var(--line)}
.home footer h4{color:var(--ink)}
.home footer a:hover{color:var(--indigo)}
.home footer .logo{color:var(--ink)}
.home .fbot{border-top-color:var(--line);align-items:center}
/* link rows are 44px tall to tap (they were 18px); the padding replaces the gap */
.home footer ul{gap:0}
.home footer li a,.home .fbot a{display:inline-block;padding:13px 0}

/* ── touch targets ────────────────────────────────────────────────────── */
.home header .nav > a{display:flex;align-items:center;min-height:44px}
/* the whole question row is the tap target, not just its text line */
.home details{padding:0}
.home summary{padding:20px 22px;min-height:44px;align-items:center}
.home details p{margin-top:0;padding:0 22px 20px}

/* ── keyboard focus + skip link ───────────────────────────────────────── */
.home a:focus-visible,.home summary:focus-visible{outline:3px solid var(--indigo);outline-offset:3px;border-radius:10px}
.home .cta-card a:focus-visible{outline-color:#fff}
.skip{position:absolute;left:12px;top:-64px;z-index:100;background:var(--ink);color:#fff;
  font-weight:600;padding:11px 18px;border-radius:10px}
.skip:focus{top:12px}

/* ── reduced motion: no smooth-scroll, no hover lift ──────────────────── */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .home .btn:hover,.home .card:hover{transform:none}
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width:960px){
  /* nav links are hidden here, so push the buttons to the right edge */
  .home .nav .acts{margin-left:auto}
  .hero-grid{grid-template-columns:1fr;gap:48px}
  .hero-copy{text-align:center}
  .hero-copy .ctas,.hero-copy .ticks{justify-content:center}
  .hero-card{max-width:540px;width:100%;margin:0 auto}
}
@media (max-width:620px){
  .home .hero{padding:44px 0 56px}
  .cta-card{padding:44px 22px}
  /* header: one tidy row, like the in-app landing page (Sign in is in the footer
     and on the sign-up page) */
  .home .nav{gap:12px;height:64px}
  .home .nav .btn-ghost{display:none}
  .home .nav .acts{margin-left:auto}
  .home .nav .btn{white-space:nowrap;padding:10px 16px;font-size:.9rem}
}

/* ── "what you get" strip: facts, not statistics ──────────────────────── */
.home .strip b{font-size:1.02rem;font-weight:700;letter-spacing:-.01em}
.home .strip li{padding:0 6px}

/* ── pricing: two plans, one honest billing note ──────────────────────── */
.home .plans.two{grid-template-columns:repeat(2,1fr);max-width:820px;margin-inline:auto}
.bill-note{max-width:64ch;margin:26px auto 0;text-align:center;font-size:.88rem;color:var(--muted)}

/* ── small text helpers ───────────────────────────────────────────────── */
.fine{font-size:.85rem;color:var(--muted);margin-top:14px}
.more-link{margin-top:14px}
.more-link a{color:var(--indigo);font-weight:600}
.more-link a:hover{text-decoration:underline;text-underline-offset:3px}
.mock .al{font-size:8.5px;font-weight:700;color:#B45309;margin-top:1px}

/* ── content stays visible if JavaScript never runs (the head script adds .js) ── */
body.home .rv{opacity:1;transform:none}
html.js body.home .rv{opacity:0;transform:translateY(16px)}
html.js body.home .rv.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html.js body.home .rv{opacity:1;transform:none}}

/* ── jump links clear the sticky header; Pricing stays reachable on phones ── */
html{scroll-padding-top:88px}
.home .navp{display:none;align-items:center;min-height:44px;padding:0 10px;font-weight:600;
  font-size:.94rem;color:var(--body)}
@media (max-width:960px){.home .navp{display:inline-flex}}
@media (max-width:620px){
  html{scroll-padding-top:80px}
  .home .plans.two{grid-template-columns:1fr}
}

/* equal-height plan cards, buttons aligned at the bottom */
.home .plans.two{align-items:stretch}
.home .plans.two .plan{display:flex;flex-direction:column}
.home .plans.two .plan ul{flex:1}
.home .plans.two .plan ul{align-content:start}
.more-link a{display:inline-flex;align-items:center;min-height:44px}

/* ── guest-side section: a real table photo + the diner's phone ───────── */
.diner-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);gap:72px;align-items:center}
.diner-visual{position:relative;max-width:460px;width:100%;margin-bottom:40px}
.diner-photo{aspect-ratio:4/5;border-radius:24px;overflow:hidden;background:#E9DCCB;
  box-shadow:0 30px 60px -28px rgba(15,23,42,.4)}
.diner-photo img{width:100%;height:100%;object-fit:cover}
.diner-copy .eyebrow{font-size:.82rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--indigo);margin-bottom:12px}
.diner-copy h2{text-wrap:balance}
.diner-copy > p{color:var(--body);margin-top:14px;font-size:1.05rem}
.ticklist{list-style:none;margin:22px 0 0;padding:0;display:grid;gap:11px}
.ticklist li{display:flex;gap:10px;align-items:flex-start;color:var(--body);font-size:.97rem}
.ticklist svg{flex:0 0 18px;margin-top:3px;color:var(--green)}

/* the diner's phone: built from the real customer-menu design */
.phone{position:absolute;left:-18px;bottom:-40px;width:238px;background:#0F172A;border-radius:34px;
  padding:9px;box-shadow:0 34px 60px -22px rgba(15,23,42,.6)}
.ph-screen{background:#fff;border-radius:26px;overflow:hidden;padding:15px 12px 0;font-size:12px;
  line-height:1.4;color:var(--ink);min-height:420px;display:flex;flex-direction:column}
.ph-head{display:flex;justify-content:space-between;align-items:center;font-weight:800;font-size:13px}
.ph-head small{font-weight:700;font-size:10.5px;color:var(--muted)}
.ph-filters{display:flex;gap:5px;margin:10px 0 8px;flex-wrap:nowrap;white-space:nowrap}
.ph-chip{font-size:10.5px;font-weight:700;padding:5px 7px;border-radius:999px;
  border:1.4px solid var(--line);color:var(--muted);background:var(--bg-soft)}
.ph-chip.on{border-color:#B45309;color:#B45309;background:rgba(180,83,9,.08)}
.ph-sec{font-size:10.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;
  color:var(--muted);margin:4px 0 6px}
.ph-dish{border:1px solid var(--line);border-radius:12px;padding:9px;margin-bottom:8px}
.ph-dish b{display:flex;align-items:center;gap:6px;font-size:12.5px}
.ph-dish .v{width:11px;height:11px;border:1.5px solid var(--green);border-radius:2px;flex:none;
  display:inline-block;position:relative}
.ph-dish .v::after{content:"";position:absolute;inset:2px;border-radius:50%;background:var(--green)}
.ph-note{font-size:10.5px;font-weight:700;margin-top:3px}
.ph-note.al{color:#B45309}
.ph-note.ok{color:#166534}
.ph-row{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-weight:800}
.ph-add{font-size:11px;font-weight:800;color:#fff;background:var(--indigo);padding:5px 12px;border-radius:8px}
.ph-cart{margin:auto -12px 0;background:var(--indigo);color:#fff;font-weight:700;font-size:12px;
  padding:12px 14px;display:flex;justify-content:space-between}

@media (max-width:960px){
  .diner-grid{grid-template-columns:1fr;gap:56px}
  .diner-visual{margin-inline:auto}
}
@media (max-width:620px){
  .phone{left:10px;width:216px}
  .ph-screen{min-height:390px}
}

/* ── mockup text: legible, not just decorative (was 8.5-11px) ─────────── */
.home .mock{font-size:12px}
.home .mock-nav span{font-size:11.5px}
.home .mock-sub{font-size:11px}
.home .mock-chip{font-size:11px}
.home .kpi .l{font-size:10.5px}
.home .kpi .d{font-size:10px}
.home .panel h6{font-size:12px}
.home .bars-x span{font-size:10px}
.home .leg{font-size:10.5px}
.home .rw .nm{font-size:11.5px}
.home .rw .mt{font-size:10.5px}
.home .rw .amt{font-size:11.5px}
.home .pillx{font-size:10px}
.home .kcol h6{font-size:11px}
.home .tick .t{font-size:11px}
.home .tick .i{font-size:10.5px}
.home .tick .tm{font-size:10px}
.home .dish .n{font-size:11px}
.home .dish .pr{font-size:11.5px}
.mock .al{font-size:10px}
.home .kan{grid-template-columns:repeat(4,minmax(0,1fr))}
/* four ticket columns need the width the sidebar would take; names like Cheeseburger overflowed at ~100px */
.home .mock.kitchen .mock-side{display:none}
.home .tick .t{gap:4px}
.home .kcol{padding:7px;min-width:0}
/* too narrow for four columns: phones, and the side-by-side layout at small laptop widths */
@media (max-width:620px),(min-width:961px) and (max-width:1120px){.home .kan{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ── founder block: a real person and a direct line, no invented proof ── */
.founder{padding:64px 0 0}
.founder-card{display:flex;gap:24px;align-items:flex-start;max-width:820px;margin:0 auto;
  background:var(--bg-soft);border:1px solid var(--line);border-radius:24px;padding:36px}
.fc-badge{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:var(--indigo);color:#fff;
  font-weight:800;font-size:1.4rem;display:flex;align-items:center;justify-content:center}
.fc-body h2{font-size:clamp(1.4rem,2.6vw,1.9rem);text-wrap:balance}
.fc-body p{color:var(--body);margin-top:12px}
.fc-body .fine{margin-top:16px}
.fc-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
/* WhatsApp-green that still clears 4.5:1 with white text (5.0:1) */
.btn-wa{background:#15803D;color:#fff;box-shadow:0 8px 22px rgba(21,128,61,.25)}
.btn-wa:hover{background:#116B33;transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.btn-wa:hover{transform:none}}
@media (max-width:620px){
  .founder{padding-top:48px}
  .founder-card{flex-direction:column;padding:26px 22px;gap:16px}
}

/* desktop nav links: 44px tall to tap (tablets in landscape show this nav) */
.home .nav nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}

/* ── product tour video: loads nothing until played ───────────────────── */
.demo{padding:80px 0 72px}
.demo-frame{max-width:980px;margin:0 auto;border-radius:24px;overflow:hidden;background:#E9DCCB;
  box-shadow:0 40px 80px -36px rgba(15,23,42,.45);border:1px solid var(--line);aspect-ratio:16/9}
.demo-frame video{display:block;width:100%;height:100%;object-fit:contain;background:#F7F8FC}
.demo-tx{max-width:980px;margin:18px auto 0}
.demo-tx ol{margin:0;padding:0 22px 22px 3.4em;color:var(--body);font-size:.97rem;display:grid;gap:8px}
@media (max-width:620px){.demo{padding:56px 0 48px}.demo-frame{border-radius:16px}}

/* ── try the sample café: a real QR to a real, isolated demo tenant ───── */
.try-demo{display:flex;gap:22px;align-items:center;margin-top:28px;padding:20px 22px;border:1px solid var(--line);border-radius:18px;background:var(--bg-soft)}
.try-qr{flex:0 0 128px;width:128px;height:128px;border-radius:12px;border:1px solid var(--line);background:#fff}
.try-body h3{font-size:1.15rem}
.try-body > p{color:var(--body);font-size:.95rem;margin:6px 0 14px}
.try-body .fine{margin:12px 0 0;font-size:.82rem}
@media (max-width:620px){.try-qr{display:none}.try-demo{padding:18px}.try-body .btn{width:100%}}
