/* The public pages of jacote.blog: Home (shown by the till page to visitors), Plans and Questions.
   Same colours as the till: the JacotePOS brand, light by default; dark when the visitor picks it (the moon button). */
:root{
  --bg:#faf7f0; --surface:#ffffff; --sunk:#f4f0e6; --ink:#14201b; --muted:#46524c; --line:#c9c2b2;
  --accent:#0e5c4c; --accent-ink:#ffffff; --accent-soft:#e3f1ea; --gold:#f6b803; --gold-ink:#14201b;
  --display:"Atkinson Hyperlegible",Verdana,Tahoma,sans-serif; --body:"Atkinson Hyperlegible",Verdana,Tahoma,sans-serif;
}
:root[data-theme="dark"]{
  --bg:#0f1714; --surface:#17221e; --sunk:#121c18; --ink:#f2f5f1; --muted:#b8c4bd; --line:#3a4a43;
  --accent:#3fc191; --accent-ink:#08201a; --accent-soft:#1a2e27; --gold:#f6b803; --gold-ink:#14201b; color-scheme:dark}

/* Base, for the stand-alone pages (the till page has its own). */
body.site{margin:0;background:var(--bg);color:var(--ink);font:1.125rem/1.55 var(--body);padding:0 16px}
body.site *{box-sizing:border-box}
body.site h1,body.site h2,body.site h3{font-family:var(--display);line-height:1.15;margin:0}
body.site .btn{border:2px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;padding:.6rem 1rem;min-height:48px;font:700 1rem var(--body);cursor:pointer}
body.site .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
body.site .btn.small{padding:.4rem .75rem;min-height:40px;font-size:.95rem}
body.site .muted{color:var(--muted)} body.site .row{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
body.site a{color:var(--accent)}

.grecaptcha-badge{visibility:hidden}

/* Shared layout */
.home{max-width:1000px;margin:0 auto;padding-bottom:3rem;display:grid;gap:2.6rem}
.home-top{display:flex;justify-content:space-between;align-items:center;gap:.8rem;flex-wrap:wrap;padding-top:1rem}
.home-brand{display:flex;align-items:center;gap:.5rem;font:700 1.4rem var(--display);color:var(--ink);text-decoration:none}
.site-nav{display:flex;gap:.3rem 1.1rem;flex-wrap:wrap;align-items:center}
.site-nav a{color:var(--ink);text-decoration:none;font-weight:700;padding:.3rem 0;border-bottom:3px solid transparent}
.site-nav a[aria-current="page"]{border-bottom-color:var(--accent)}
.home a.btn{text-decoration:none;color:var(--ink);display:inline-flex;align-items:center}
.home a.btn.primary{color:var(--accent-ink)}
.home section>h2{margin-bottom:1rem}
.home-foot{text-align:center;font-size:.95rem;color:var(--muted)}.home-foot a{color:var(--muted)}

/* Home */
.home-hero{display:grid;gap:1.2rem;padding:2.5rem 0 1rem;justify-items:start}
.home-hero h1{font-size:clamp(2rem,5.5vw,3rem);max-width:16em}
.home-hero p{font-size:1.2rem;margin:0;max-width:36em;color:var(--muted)}
.home-hero .btn{font-size:1.1rem;min-height:56px;padding:.7rem 1.4rem}
.home-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.6rem}
.home-points h3{font-size:1.25rem;margin-bottom:.35rem}.home-points p{margin:0;color:var(--muted)}
.home-band{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:var(--accent-soft);border-radius:14px;padding:1.2rem 1.4rem}
.home-band b{font-size:1.2rem}

/* Plans */
.plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1rem}
.plan-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.2rem;display:grid;gap:.6rem;align-content:start}
.plan-card.best{border:2px solid var(--accent)}
.plan-card .price{font:700 1.8rem var(--display)}.plan-card .price small{font-size:1rem;color:var(--muted);font-weight:400}
.plan-card ul{margin:0;padding-left:1.1rem}.plan-card li{margin:.2rem 0}

/* Reviews and questions */
.stars{color:#b26b00;font-size:1.2rem;letter-spacing:.08em;white-space:nowrap}.stars .off{color:var(--line)}
:root[data-theme="dark"] .stars{color:#ffbe3d}
.reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem}
.review{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:1rem;display:grid;gap:.5rem;align-content:start}
.review blockquote{margin:0;font-size:1.05rem}
.faq{display:grid;gap:.5rem}.faq details{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:.75rem 1rem}
.faq summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center;padding:.35rem 0}.faq details[open] summary{margin-bottom:.5rem}.faq details>div{color:var(--ink)}

/* The installed app opens full screen; it needs no Install buttons. */
@media (display-mode: standalone){[data-act="install"]{display:none!important}}

/* Plan cards are links to Register with that plan. */
a.plan-card{text-decoration:none;color:var(--ink)}a.plan-card:hover{border-color:var(--accent)}a.plan-card .btn{justify-self:start;margin-top:.4rem;display:inline-flex;align-items:center}

/* Home: text beside a picture of the till; on a phone the picture goes under the buttons. */
.hero-split{grid-template-columns:1fr;align-items:center;gap:2rem}
@media (min-width:820px){.hero-split{grid-template-columns:1.3fr .9fr}}
.hero-text{display:grid;gap:1.1rem;justify-items:start}
.hero-small{font-size:1rem!important}.hero-small .link{font-size:1rem;padding:0;min-height:0;color:var(--accent);text-decoration:underline}
.trust{list-style:none;margin:0;padding:0;display:grid;gap:.35rem;color:var(--muted)}
.trust li::before{content:"✓ ";color:var(--accent);font-weight:700}
.hero-phone{margin:0;justify-self:center;width:min(290px,72vw);border:10px solid #121614;border-radius:34px;overflow:hidden;box-shadow:0 18px 40px rgba(0,0,0,.28);background:#121614}
.hero-phone img{display:block;width:100%;height:auto}
/* What you get, and one block per kind of shop */
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1.4rem}
.features>div{border-top:2px solid var(--accent);padding-top:.8rem}.features h3{font-size:1.15rem;margin:0 0 .3rem}.features p{margin:0;color:var(--muted)}
.shop-types{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}
.shop-type{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.2rem;display:grid;gap:.4rem;align-content:start}
.shop-type ul{margin:.3rem 0 0;padding-left:1.1rem}.shop-type li{margin:.2rem 0}
/* Plan cards: the price on one line, the yearly price under it, a label on the most popular plan */
.plan-card{position:relative}
.plan-tag{position:absolute;top:-.8rem;left:1rem;background:var(--accent);color:var(--accent-ink);font-weight:700;font-size:.85rem;padding:.2rem .7rem;border-radius:999px}
.plan-card .price,.plan-card .per,.home-band b{font-variant-numeric:lining-nums}
.plan-card .price{white-space:nowrap;font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-weight:800}
.shop-type>.muted,.plan-card .per{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.plan-card .per{font-size:.92rem;color:var(--muted);margin-top:-.4rem}
.plan-card .btn{white-space:nowrap}.plan-small{font-size:.9rem}
.home-band.soon{background:transparent;border:1px dashed var(--line)}
/* Phones: logo and Register on one row, the page links on the next */
@media (max-width:600px){.home-top{display:grid;grid-template-columns:1fr auto;row-gap:.4rem}.home-top .site-nav{grid-column:1/-1;order:3}
  .home a.btn.top-signin{display:none}.home-hero{padding-top:1.2rem}.home .home-hero .btn{width:100%;justify-content:center;text-align:center}}

/* Brand touches: the gold "30 days free" tag, and the light/dark switch (shows the mode it switches to) */
.pill-gold{display:inline-block;background:var(--gold);color:var(--gold-ink);font-weight:700;font-size:.95rem;padding:.25rem .75rem;border-radius:999px}
.theme-btn{border:2px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;min-width:44px;min-height:40px;cursor:pointer;line-height:1;display:inline-flex;align-items:center;justify-content:center}.theme-btn svg{display:block}
.tick{display:inline-block;width:1em;height:1em;border:2px solid var(--line);border-radius:4px;vertical-align:-.15em}.tick.on{background:var(--accent);border-color:var(--accent)}
:root[data-theme="dark"] .t-dark,:root:not([data-theme="dark"]) .t-light{display:none}
.home-band{background:var(--accent-soft)}
.home a:not(.btn){color:var(--accent)}
/* Plan cards: each card a column, so every "Choose this plan" button sits at the bottom, level across the row */
.plan-card{display:flex;flex-direction:column;gap:.6rem}
a.plan-card .btn,.plan-card .btn{margin-top:auto;align-self:flex-start}
.plan-feats{list-style:none;margin:.2rem 0 .6rem;padding:0;display:grid;gap:.3rem;font-size:.95rem;line-height:1.4}
.plan-feats li{display:flex;gap:.45rem;align-items:baseline}.plan-feats li>span{font-weight:700;flex:none;width:1em}
.plan-feats li.yes>span{color:var(--accent)}.plan-feats li.no{color:var(--muted)}.plan-feats li.no s{text-decoration:none}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* The chosen plan at the top of the registration form */
.chosen-plan{border:2px solid var(--accent);border-radius:12px;padding:.8rem 1rem;display:grid;gap:.3rem;background:var(--accent-soft)}
.chosen-plan .plan-feats{margin:.2rem 0 0;font-size:.95rem}

/* Biashara Pro: a wide card under the four fixed plans */
.plan-pro{background:var(--surface);border:2px solid var(--gold);border-radius:14px;padding:1.2rem 1.4rem;display:grid;gap:1rem;grid-template-columns:1fr}
@media (min-width:820px){.plan-pro{grid-template-columns:1fr 1fr}.plan-pro .row{grid-column:1/-1}}
.plan-pro h2{margin:.5rem 0 .3rem}.plan-pro .plan-feats{margin:0}
