/* perkonova.com (2026-11-16, decisions.md §0): the company's one-page site, for shop owners, and the legal pages.
   go.perkonova.com's look at a wider size: the Business app's black and white with a small orange accent, its peach and
   sky tints, its fonts and its pictures. Our own files only (fonts and pictures are copied in at deploy by
   scripts/copy-site-shared.mjs); no scripts, no trackers.
   Layout: one column on a phone; from 900 wide the hero splits into words and a phone, and the lists go two or four
   across. */

@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url(/fonts/Figtree-Regular.ttf) format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 600 700; font-style: normal; font-display: swap; src: url(/fonts/Figtree-SemiBold.ttf) format("truetype"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 800; font-style: normal; font-display: swap; src: url(/fonts/BricolageGrotesque-ExtraBold.ttf) format("truetype"); }

:root {
  color-scheme: light;
  --ink: #0A0A0A;
  --ink-2: #404040;
  --muted: #6B6B6B;
  --line: #E5E5E5;
  --wash: #F5F5F5;
  --peach: #FFF3EB;
  --sky: #EDF4FC;
  --accent: #EA580C;
  --accent-ink: #C2410C;
  --salon: #DB2777;
  --ok: #15803D;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wide: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #FFFFFF; color: var(--ink); font: 400 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
p { margin: 0 0 14px; color: var(--ink-2); }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h2 { font: 800 clamp(30px, 5.2vw, 44px)/1.08 var(--display); letter-spacing: -0.02em; }
h3 { font: 800 20px/1.25 var(--display); letter-spacing: -0.01em; }
.inner { max-width: var(--wide); margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ── The top bar ── */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: #FFFFFF; }
.top .inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.wordmark { margin: 0; line-height: 0; }
.wordmark img { display: block; height: 20px; width: auto; }
.top nav { display: none; gap: 22px; margin-inline-start: auto; }
.top nav a { text-decoration: none; font: 600 15px/1 var(--text); color: var(--ink-2); }
.top nav a:hover { color: var(--ink); }
.top .get { margin-inline-start: auto; }
@media (min-width: 760px) { .top nav { display: flex; } .top .get { margin-inline-start: 4px; } }
/* English and French (2026-11-27, the audit's F-100): the same page in the other language, at the end of the top bar,
   on a phone too. The page's own language is the black one. On release day the "Get the app" button follows it. */
.top .lang { display: flex; gap: 2px; margin-inline-start: auto; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.top .lang a, .top .lang [aria-current] {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 34px; padding: 0 10px;
  border-radius: 999px; font: 600 14px/1 var(--text); letter-spacing: .02em; text-decoration: none;
}
.top .lang a { color: var(--ink-2); }
.top .lang a:hover { background: var(--wash); color: var(--ink); }
.top .lang [aria-current] { background: var(--ink); color: #FFFFFF; }
.top .lang ~ .get { margin-inline-start: 4px; }
@media (min-width: 760px) { .top .lang { margin-inline-start: 0; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 13px 22px;
  border: 0; border-radius: 14px; background: var(--ink); color: #FFFFFF; font: 600 16px/1.2 var(--text); text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #262626; }
.btn:active { transform: scale(.985); }
.btn.small { min-height: 40px; padding: 9px 16px; border-radius: 12px; font-size: 14px; }
.btn.light { background: #FFFFFF; color: var(--ink); box-shadow: inset 0 0 0 1.5px #D4D4D4; }
.btn.light:hover { background: var(--wash); }
.btn .os { font: 400 13px/1.1 var(--text); opacity: .75; display: block; }
.btn .store { display: grid; text-align: start; line-height: 1.15; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
/* Apple's and Google's store badges (copied in from hosting/public/store-badges): the same height, side by side, as tall as the
   row allows up to 48 (6.358 is the two badges' widths over their height). Below 40, the least both companies allow, they wrap. */
.store-badges { container-type: inline-size; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.store-badges a { display: inline-flex; line-height: 0; border-radius: 10px; }
.store-badges img { display: block; width: auto; height: clamp(40px, calc((100cqw - 14px) / 6.358), 48px); }

/* ── The hero: the words, and a phone with the shop's card on it ── */
.hero { padding-block: 40px 56px; overflow: hidden; }
.hero .inner { display: grid; gap: 40px; align-items: center; }
.eyebrow { margin: 0 0 14px; font: 600 13px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.hero h1 { font: 800 clamp(40px, 8.4vw, 68px)/1.0 var(--display); letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin: 20px 0 28px; max-width: 34em; font-size: 19px; line-height: 1.55; }
.hero .free { margin: 16px 0 0; font: 600 15px/1.4 var(--text); color: var(--ink); }
.hero .free::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-inline-end: 10px; border-radius: 50%; background: var(--ok); vertical-align: 2px; }
/* Until the Business app is in the stores (2026-11-17, decisions.md §0), this line stands where the store badges go
   (hosting/site/README.md has them for release day). */
.hero .soon { display: inline-block; margin: 0; padding: 12px 18px; border-radius: 14px; background: var(--peach); color: var(--accent-ink); font: 600 16px/1.4 var(--text); }

.stage { position: relative; display: grid; place-items: center; padding: 28px 0; }
.stage::before { content: ""; position: absolute; inset: 6% 4%; border-radius: 40px; background: var(--sky); transform: rotate(-3deg); }
.phone {
  position: relative; width: 268px; padding: 14px; border-radius: 44px; background: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(10, 10, 10, .45);
}
.screen { border-radius: 32px; background: #F2F2F7; padding: 44px 14px 18px; min-height: 470px; }
.wcard { border-radius: 18px; overflow: hidden; background: var(--salon); color: #FFFFFF; box-shadow: 0 10px 24px -12px rgba(219, 39, 119, .6); }
.wcard .head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 0; }
.wcard .mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255, 255, 255, .2); font: 800 13px/1 var(--display); }
.wcard .shop { font: 800 16px/1.1 var(--display); }
.wcard .row { display: flex; justify-content: space-between; gap: 12px; padding: 16px 14px 14px; font-size: 11px; line-height: 1.3; }
.wcard .row b { display: block; font: 600 15px/1.2 var(--text); }
.wcard .code { margin: 0 14px 14px; padding: 12px; border-radius: 12px; background: #FFFFFF; display: grid; place-items: center; gap: 6px; }
.wcard .code svg { display: block; width: 104px; height: 104px; }
.wcard .code span { color: var(--muted); font-size: 10px; }
.toast {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: #FFFFFF;
  box-shadow: 0 14px 30px -14px rgba(10, 10, 10, .35), 0 0 0 1px var(--line); font: 600 14px/1.25 var(--text); color: var(--ink);
}
.toast small { display: block; font: 400 12px/1.2 var(--text); color: var(--muted); }
.toast .dot { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 800 15px/1 var(--display); }
.toast.points { inset-inline-start: 0; top: 10px; }
.toast.points .dot { background: var(--peach); color: var(--accent-ink); }
.toast.ready { inset-inline-end: 0; bottom: 8%; }
.toast.ready .dot { background: #E9F6EE; color: var(--ok); }
@media (max-width: 420px) { .toast.points { inset-inline-start: -6px; } .toast.ready { inset-inline-end: -6px; } }
@media (min-width: 900px) {
  .hero { padding-block: 56px 80px; }
  .hero .inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; }
  .phone { width: 300px; }
}

/* ── Sections ── */
section.band { padding-block: 64px; }
section.band.sky { background: var(--sky); }
section.band.peach { background: var(--peach); }
.section-head { max-width: 40em; margin: 0 0 32px; }
.section-head p { margin: 14px 0 0; font-size: 18px; }

/* How it works: three steps, each with the app's own picture. */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 24px; background: #FFFFFF; counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: 20px; inset-inline-end: 20px; display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #FFFFFF; font: 800 16px/1 var(--display);
}
.steps img { width: 96px; height: 96px; }
.steps p { margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* What you get. */
.features { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.features li { padding: 20px 22px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.features li h3 { font-size: 18px; margin-bottom: 6px; }
.features li p { margin: 0; font-size: 16px; }
.features li::before { content: ""; display: block; width: 28px; height: 4px; margin-bottom: 14px; border-radius: 999px; background: var(--accent); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Plans. */
.plans { display: grid; gap: 14px; margin: 0 0 18px; padding: 0; list-style: none; }
.plans li { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--line); }
.plans li.first { background: var(--ink); color: #FFFFFF; box-shadow: none; }
.plans li.first h3, .plans li.first .price, .plans li.first p, .plans li.first li { color: #FFFFFF; }
.plans .price { font: 800 34px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.plans .price small { font: 400 14px/1 var(--text); letter-spacing: 0; opacity: .7; }
.plans ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.plans ul li { padding: 0; border-radius: 0; background: none; box-shadow: none; display: block; font-size: 15px; color: var(--ink-2); }
.plans ul li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-end: 10px; border-radius: 50%; background: var(--accent); vertical-align: 3px; }
.plans-note { font-size: 14px; color: var(--muted); max-width: 52em; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* For customers. */
.customers .inner { display: grid; gap: 24px; align-items: center; }
.customers img { width: 120px; height: 120px; }
@media (min-width: 760px) { .customers .inner { grid-template-columns: auto minmax(0, 1fr) auto; } }

/* Questions. */
.faq { max-width: 52em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none;
  font: 600 18px/1.35 var(--text); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 600 24px/1 var(--text); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; max-width: 44em; }

/* ── The foot ── */
.site-foot { padding-block: 40px 56px; background: var(--ink); color: #D4D4D4; }
.site-foot .inner { display: grid; gap: 24px; }
.site-foot .wordmark img { height: 18px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.site-foot a { color: #FFFFFF; font-size: 15px; }
.site-foot p { margin: 0; color: #A3A3A3; font-size: 14px; }
.site-foot .tm { font-size: 12px; color: #8A8A8A; }
/* Both languages' links in one foot (the 404 and the legal stand-in, 2026-11-27): one above the other, in the nav's place. */
.site-foot .navs { display: grid; gap: 12px; }
@media (min-width: 760px) { .site-foot .inner { grid-template-columns: auto minmax(0, 1fr); align-items: center; } .site-foot nav { justify-content: flex-end; } }

/* ── A plain page (the legal pages, the 404) ── */
.doc { max-width: 720px; margin: 0 auto; padding: 40px max(20px, env(safe-area-inset-left, 0px)) 64px max(20px, env(safe-area-inset-right, 0px)); }
.doc h1 { margin-bottom: 14px; font: 800 clamp(32px, 6vw, 44px)/1.08 var(--display); letter-spacing: -0.02em; }
.doc .art { width: 112px; height: 112px; margin-bottom: 16px; }
/* A page in both languages at once (2026-11-27): the 404, which Hosting shows for every address, and the legal stand-in.
   English and French side by side from 720 wide, the same size; one above the other on a phone. */
.doc.both { max-width: 960px; }
.pair { display: grid; gap: 36px; }
.pair section > :last-child { margin-bottom: 0; }
@media (min-width: 720px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

/* Get help (/support, 2026-11-17): the site's only three contacts, two across from 640 wide. No form. */
.contacts { display: grid; gap: 14px; margin: 24px 0 0; }
.contacts > div { padding: 20px 22px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); }
.contacts h2 { margin-bottom: 6px; font: 800 20px/1.25 var(--display); letter-spacing: -0.01em; }
.contacts p { margin: 0 0 12px; font-size: 16px; }
.contacts .mail { margin: 0; }
.contacts .mail a { font: 600 18px/1.3 var(--text); overflow-wrap: anywhere; }
@media (min-width: 640px) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:active { transform: none; } }
