/*
 * The public website (the owner, 12 November 2026): the home page, Features,
 * Your business, Pricing, Contact and the demo page. It wears the product's
 * own look, from /app/app.css: its colours (light and dark, as the visitor's
 * device asks), Instrument Sans, its buttons, cards and form fields. Here is
 * only what a website needs on top: the bar across the top, wide sections,
 * big headings, and the product's screens shown in frames.
 *
 * Nothing is loaded from outside and nothing is styled in the markup, so the
 * site keeps the strict policy every page has (public/_headers).
 */

body.site { font-size: 16.5px; line-height: 1.55; }
.site main { display: block; }
.site h1, .site h2, .site h3 { text-wrap: balance; }
/* A paragraph's space comes from what it sits in, here. Written with :where
   so that it weighs nothing, and any class below may still set a margin. */
:where(.site) p { margin: 0; }
:where(.site) img { max-width: 100%; height: auto; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* -------------------------------------------------------- the top bar */

.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; max-width: 1180px; margin: 0 auto; padding: 12px 24px; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.site-brand:hover { color: var(--ink); text-decoration: none; }
.site-brand img { display: block; border-radius: 8px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; flex: 1; }
.site-nav > a { color: var(--ink-2); font-weight: 600; font-size: 15.5px; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav > a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--line-strong); }
.site-nav > a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.site-nav-end { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-signin { font-weight: 600; font-size: 15.5px; }
.site-menu { display: none; margin-left: auto; }
@media (max-width: 860px) {
  .js .site-menu { display: inline-flex; }
  .js .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 10px; }
  .js .site-header[data-open] .site-nav { display: flex; }
  .js .site-nav > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .js .site-nav-end { margin: 14px 0 0; justify-content: space-between; }
}

/* ------------------------------------------------------------ sections */

.band { padding-block: 84px; }
.band.tight { padding-block: 56px; }
.band.white { background: var(--surface); border-block: 1px solid var(--line); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--accent); }
.site .lede { max-width: 60ch; font-size: 20px; line-height: 1.5; color: var(--ink-2); }
.band-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.band-head h2 { margin: 0; font-size: clamp(27px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -0.025em; }
.band-head p { font-size: 18.5px; color: var(--ink-2); max-width: 62ch; }
.more { font-weight: 600; }
.more::after { content: " \2192"; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.site a.button.big, .site button.big { height: 50px; padding: 0 24px; font-size: 16.5px; border-radius: 10px; }

/* ----------------------------------------------------------- the hero */

.hero { padding: 72px 0 0; overflow: hidden; }
.hero-text { display: grid; gap: 22px; max-width: 980px; }
/* The headline in two lines, its second in the product's blue: "Your whole
   business." then "One system." (the owner's choice, 12 November 2026). */
.hero h1 { margin: 0; font-size: clamp(40px, 7.4vw, 88px); line-height: 1; letter-spacing: -0.045em; font-weight: 700; }
.hero h1 span { display: block; color: var(--accent); }
.hero .lede { font-size: clamp(19px, 2.3vw, 24px); color: var(--ink-2); }
.hero-note { font-size: 14.5px; color: var(--muted); }
.hero-stage { position: relative; margin-top: 56px; padding-bottom: 72px; }
.hero-stage .shot { box-shadow: 0 40px 90px -40px rgba(18, 38, 66, 0.55); }
.hero-phone { position: absolute; right: -8px; bottom: 0; width: clamp(150px, 19vw, 232px); }
@media (max-width: 720px) {
  .hero { padding-top: 44px; }
  .hero-stage { margin-top: 36px; padding-bottom: 40px; }
  .hero-phone { display: none; }
}

/* A page that is not the home page opens more quietly. */
.page-head { padding: 64px 0 8px; }
.page-head .hero-text { gap: 16px; }
.page-head h1 { margin: 0; font-size: clamp(36px, 5.6vw, 60px); line-height: 1.03; letter-spacing: -0.035em; }

/* ------------------------------------------ the product's own screens */

.shot { margin: 0; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: 0 24px 60px -34px rgba(18, 38, 66, 0.45); }
.shot img { display: block; width: 100%; }
.shot.phone { border-radius: 30px; border-width: 6px; border-color: #16202a; box-shadow: 0 30px 60px -30px rgba(18, 38, 66, 0.6); }
.shot-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ------------------------------------------------- cards in a grid */

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.tile { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.band.white .tile { background: var(--ground); }
.tile h3 { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile .more { margin-top: auto; padding-top: 8px; }
.tile-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); }
.tile-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* A kind of business with its screen: the picture, then the words. */
.kind { display: flex; flex-direction: column; margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
/* The top of the screen, drawn larger than the frame so its words can be
   read; an office screen is moved left, past the menu down its side. */
.kind .kind-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ffffff; border-bottom: 1px solid var(--line); }
.kind .kind-shot img { display: block; width: 150%; max-width: none; height: auto; }
.kind .kind-shot.office img { width: 170%; margin-left: -30%; }
.kind-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px; }
.kind-body h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.kind-body p { color: var(--ink-2); font-size: 15.5px; }
.kind-body .starts { font-size: 14.5px; color: var(--muted); }
.kind-body .actions { margin-top: auto; padding-top: 10px; }

/* ------------------------------ a feature: words beside its picture */

.feature { display: grid; gap: 40px 64px; align-items: center; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); scroll-margin-top: 90px; }
.feature + .feature { margin-top: 96px; }
.feature.flip > .feature-text { order: 2; }
.feature-text { display: grid; gap: 16px; }
.feature-text h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.14; letter-spacing: -0.022em; }
.feature-text > p { color: var(--ink-2); font-size: 17.5px; }
.ticks { display: grid; gap: 11px; margin: 4px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.ticks strong { color: var(--ink); }
.feature-shots { display: grid; gap: 18px; }
.feature-shots.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; max-width: 560px; margin-inline: auto; }
@media (max-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature.flip > .feature-text { order: 0; }
  .feature + .feature { margin-top: 72px; }
}

/* Where a long page goes: its parts, to jump to. */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding: 0; list-style: none; }
.jump a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 600; }
.jump a:hover { border-color: var(--accent); text-decoration: none; }

/* ------------------------------------------------------- the add-ons */

.addon-group + .addon-group { margin-top: 44px; }
.addon-group > h3 { margin: 0 0 16px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.addons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.addon { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.addon h4 { margin: 0 0 6px; font-size: 17px; }
.addon p { color: var(--ink-2); font-size: 15.5px; }

/* ----------------------------------------------- facts, and questions */

.facts-row { display: grid; gap: 28px 40px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.fact { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--accent); }
.fact h3 { margin: 0; font-size: 18px; }
.fact p { color: var(--ink-2); font-size: 16px; }

.steps3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); counter-reset: step; }
.step { position: relative; display: grid; gap: 10px; align-content: start; margin: 0; padding: 30px 26px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 18px; }
.step h3 { margin: 4px 0 0; font-size: 20px; letter-spacing: -0.01em; }
.step p { color: var(--ink-2); }

.example { display: grid; gap: 14px; max-width: 760px; margin-top: 40px; padding: 26px 28px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); }
.example h3 { margin: 0; font-size: 18px; color: inherit; }
.example ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; }

.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq > div { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq h3 { margin: 0; font-size: 18.5px; }
.faq p { color: var(--ink-2); }

/* ------------------------------------------- the band that asks */

.ask { background: #16395f; color: #ffffff; }
.ask .wrap { display: grid; gap: 22px; justify-items: start; }
.ask h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; color: #ffffff; max-width: 20ch; }
.ask p { max-width: 56ch; font-size: 18.5px; color: #d5e2f3; }
.ask a.button { background: #ffffff; color: #16395f; }
.ask a.button:hover { background: #e4ebf4; color: #16395f; }
.ask a.button.secondary { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, 0.55); }
.ask a.button.secondary:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* ------------------------------------------------------------ contact */

.contact { display: grid; gap: 40px 56px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.ways { display: grid; gap: 14px; }
.way { display: grid; gap: 4px; margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.way h2 { margin: 0; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.way-value { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.way-value > a, .way-value > span { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); overflow-wrap: anywhere; }
.way p { color: var(--ink-2); font-size: 15.5px; }
.site button.copy { height: 32px; padding: 0 12px; font-size: 13.5px; }
.enquiry-form { margin: 0; padding: 30px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.enquiry-form h2 { margin: 0 0 6px; font-size: 24px; letter-spacing: -0.015em; }
.enquiry-form > p { color: var(--ink-2); margin-bottom: 22px; }
.two { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.site .field label span { font-weight: 500; color: var(--muted); }
.site .enquiry-form textarea { min-height: 130px; }
.small-print { margin-top: 16px; font-size: 14px; color: var(--muted); }
.thanks { display: grid; gap: 12px; }
.thanks h2 { margin: 0; font-size: 26px; }
/* The field no person sees or fills in (src/control/site.js). */
.leave-empty { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------- the footer */

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 56px 0 30px; }
.site-foot { display: grid; gap: 34px 48px; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 720px) { .site-foot { grid-template-columns: minmax(0, 1fr); } }
.site-foot-brand { display: grid; gap: 12px; align-content: start; }
.site-foot-brand p { max-width: 34ch; color: var(--muted); font-size: 15.5px; }
.site-foot h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.site-foot ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: 15.5px; }
.site-foot li > a, .site-foot li > span { color: var(--ink-2); }
.site-legal { max-width: 1180px; margin: 40px auto 0; padding: 22px 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------- the demo page */

.site .demo-page { max-width: 1180px; padding: 56px 24px 84px; }
.notfound { display: grid; gap: 18px; justify-items: start; padding-block: 96px 120px; }
.notfound h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -0.03em; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
.addon-shots { margin-bottom: 52px; }
.addon-shots figcaption h3 { font-size: 18px; }
.tile .starts { font-size: 14.5px; color: var(--muted); }
.tile .actions { margin-top: auto; padding-top: 8px; }

/* ------------------------------------------------ the WhatsApp button */

/* A green button fixed to the corner of every page, as on Prime Laptop
   Parts' site, from which it is copied at the owner's asking (12 November
   2026): the mark and "Chat on WhatsApp", a round button on a phone. It
   opens a chat with the company's number, a first message already started,
   and shows only once the console has that number (site.js). The mark is
   Font Awesome's, free under CC BY 4.0. */
.site-whatsapp { position: fixed; right: clamp(16px, 2vw, 24px); bottom: calc(clamp(16px, 2vw, 24px) + env(safe-area-inset-bottom, 0px)); z-index: 30; display: inline-flex; align-items: center; gap: 9px; min-height: 48px; padding: 11px 18px; border-radius: 999px; background: #25d366; color: #ffffff; font-size: 15px; font-weight: 800; line-height: 1; box-shadow: 0 12px 28px rgba(14, 82, 42, 0.24); transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease; }
.site-whatsapp:hover { transform: translateY(-2px); background: #1ebe5d; color: #ffffff; text-decoration: none; box-shadow: 0 16px 32px rgba(14, 82, 42, 0.3); }
.site-whatsapp svg { width: 22px; height: 22px; fill: currentColor; flex: 0 0 auto; }
@media (max-width: 700px) {
  .site-whatsapp { width: 52px; height: 52px; min-height: 0; justify-content: center; padding: 0; }
  .site-whatsapp svg { width: 26px; height: 26px; }
  .site-whatsapp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .site-whatsapp { transition: none; }
  .site-whatsapp:hover { transform: none; }
}
