/*
 * WizPOS marketing site.
 *
 * Dependency free, fonts included. No framework, no build step and no request to
 * anyone else's server, so the folder can be dropped on any host -- cPanel,
 * Netlify, a WordPress subfolder -- with nothing but the files.
 *
 * ------------------------------------------------------------------- panels --
 *
 * True phone widths cannot be measured in the preview browser (setViewportSize
 * clamps at 500px), so the breakpoints below are written to be read rather than
 * guessed at, and the layout was measured inside a 360px iframe instead.
 *
 * ------------------------------------------------------------------ the ui --
 *
 * The frames around the screens -- the phone, the tablet and the two desktop
 * windows -- are still built in CSS, because they carry the border, the radius
 * and the shadow that make a picture read as a device. What is inside them is
 * not. It used to be a drawing of the app in markup, sized by a --ui-fs property
 * per frame; it is a photograph of the demo store now, so a frame only has to
 * set its own width and let the picture fill it.
 */

/* ------------------------------------------------------------------ fonts -- */

/*
 * Inter and Plus Jakarta Sans, both variable, both served from assets/fonts.
 *
 * Google's own subsets, so each face carries a unicode-range and a browser only
 * downloads the one it needs. latin-ext is not decoration: the rupee sign
 * (U+20B9) lives in that range, and this site writes prices in rupees.
 *
 * The weight ranges are the ranges the site uses. A variable file declared with
 * a range renders every weight inside it from the same 27KB download.
 */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url(../fonts/inter-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url(../fonts/inter-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url(../fonts/jakarta-latin.woff2) format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 600 800;
	font-display: swap;
	src: url(../fonts/jakarta-latin-ext.woff2) format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------------- tokens -- */

:root {
	/* Ink and text. --muted is held at 4.6:1 on white so small print stays legal. */
	--ink: #0b0e15;
	--ink-2: #171c28;
	--body: #495162;
	--muted: #5d6678;
	--faint: #6b7383;

	--line: #e6e9f0;
	--line-2: #eff1f6;
	--surface: #ffffff;
	--alt: #f7f8fb;

	/* The app's own red, so the site and the product read as one thing. */
	--brand: #e23744;
	--brand-700: #b92230;
	--brand-800: #8f1a25;
	--brand-tint: #fff1f2;
	--brand-glow: rgba(226, 55, 68, .35);

	--dark: #080b12;
	--dark-2: #101725;
	--dark-line: rgba(255, 255, 255, .10);

	--ok: #0f7f3a;
	--ok-tint: #eaf7ef;
	--warn: #b4690e;
	--warn-tint: #fdf4e7;
	--info: #1b62d6;
	--info-tint: #eef4ff;

	/*
	 * The reading measure, for anything that would otherwise run the full width of
	 * its container. A paragraph with nothing to stop it takes every pixel it is
	 * given, which on a tablet is a hundred characters on a line -- past the point
	 * where the eye finds the start of the next one.
	 *
	 * In `ch`, so it follows whatever font size the element it lands on uses, and
	 * set below the width people quote as ideal: `ch` is the width of a zero, and a
	 * line of prose holds about a third more characters than that, so 56ch here
	 * lands at roughly 75 real ones.
	 */
	--measure: 56ch;

	--radius-sm: 10px;
	--radius: 16px;
	--gap-section: clamp(64px, 7vw, 96px);
	--facts-lift: 68px;
	--radius-lg: 22px;
	--radius-xl: 30px;


	/*
	 * The device every screenshot is drawn inside, in one place because every page must draw it the
	 * same way: a 6.1 inch iPhone for a phone capture, an 11 inch tablet for a wide one. Both widths
	 * are the WHOLE frame including the case, so the bezel is paid for out of the picture's width
	 * instead of adding to it. This is the SAME width the hero and the tour draw their phones at,
	 * because a screenshot is only worth showing if the app's own text can be read in it: at 207px
	 * the picture filled 38% of its column and the app's own 16px text came out at 7px.
	 * See the screenshot rule further down the sheet.
	 */
	--shot-phone-w: min(264px, 68%);
	--shot-tablet-w: min(470px, 100%);
	--device-body: #0b0d11;
	--device-edge: #262c36;
	--device-detail: #39404d;
	--device-bezel-x: .36em;
	--device-bezel-top: .7em;
	--device-bezel-bottom: .95em;
	--device-screen-radius: 1.3em;
	--device-body-radius: 1.85em;
	--tablet-bezel: .5em;
	--tablet-screen-radius: .55em;
	--tablet-body-radius: 1.05em;

	/* Layered rather than single-shadow: a tight contact shadow plus a wide
	   soft one is what makes a card look like it has thickness. */
	--shadow-sm: 0 1px 2px rgba(11, 14, 21, .05), 0 3px 10px rgba(11, 14, 21, .045);
	--shadow: 0 2px 4px rgba(11, 14, 21, .04), 0 14px 34px rgba(11, 14, 21, .08);
	--shadow-lg: 0 4px 8px rgba(11, 14, 21, .05), 0 34px 70px -18px rgba(11, 14, 21, .28);

	--max: 1200px;
	--gutter: 24px;
	--ease: cubic-bezier(.16, 1, .3, 1);

	--font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
	/* Layered rather than single-shadow: a tight contact shadow plus a wide
	   soft one is what makes a card look like it has thickness. */
	--shadow-sm: 0 1px 2px rgba(11, 14, 21, .05), 0 3px 10px rgba(11, 14, 21, .045);
	--shadow: 0 2px 4px rgba(11, 14, 21, .04), 0 14px 34px rgba(11, 14, 21, .08);
	--shadow-lg: 0 4px 8px rgba(11, 14, 21, .05), 0 34px 70px -18px rgba(11, 14, 21, .28);

	--max: 1200px;
	--gutter: 24px;
	--ease: cubic-bezier(.16, 1, .3, 1);

	--font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

/* ------------------------------------------------------------------- base -- */

* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	/* Anchored sections must clear the sticky header, or a jump lands with the
	   heading tucked underneath it. */
	scroll-padding-top: 92px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--body);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--ink);
	margin: 0 0 .5em;
	line-height: 1.14;
	letter-spacing: -.021em;
	font-weight: 800;
}

h1 {
	font-size: clamp(2.3rem, 5.1vw, 3.9rem);
	line-height: 1.04;
	letter-spacing: -.035em;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.028em; }
h3 { font-size: 1.12rem; letter-spacing: -.012em; }
h4 { font-size: 1rem; letter-spacing: -.008em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--brand-700); }
a:hover { color: var(--brand-800); }
strong { color: var(--ink); font-weight: 650; }

/*
 * NOTHING ON A PAGE IS TALLER THAN THE SCREEN IT IS ON (the owner's rule, 2026-10-02):
 * 6.7 inches on a phone, 9 on a tablet, 15 on a monitor. 6.7 is not a round number on purpose --
 * it is the height of the phone every screenshot on this site is now captured on, 430 x 932 at 2x,
 * so a picture can never be shown longer than the screen it came from. `height: auto` is in the rule
 * below, so the browser works the height out from the width and the picture's own shape and then
 * clamps it, which shrinks the picture rather than squashing it. A rule that pins a picture's WIDTH
 * has to leave it alone, or the clamp has nothing to shrink and flattens the picture instead.
 *
 * 6.1 inches is the ceiling because that is the screen the phone captures come off: a 6.1 inch iPhone
 * at 393 x 852. See the screenshot rule further down the sheet.
 */
img { max-width: 100%; display: block; height: auto; max-height: 6.1in; }
@media (min-width: 640px) { img { max-height: 9in; } }
@media (min-width: 1024px) { img { max-height: 15in; } }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

::selection { background: var(--brand); color: #fff; }

:focus-visible {
	outline: 3px solid var(--brand);
	outline-offset: 3px;
	border-radius: 6px;
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section { padding: clamp(64px, 7.5vw, 112px) 0; }
.section--alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: clamp(48px, 5vw, 72px) 0; }

/* One rhythm for every band, normal, alt, tight and dark alike. padding-block is used
   so it wins over the shorthand paddings above without having to know each rule. */
.section,
.section--tight,
.section--alt,
.band-dark { padding-block: var(--gap-section); }

/* A stray margin on the first or last block inside a band would break the rhythm the
   padding just set, so the two edge blocks carry no margin of their own. */
.section > .wrap > :first-child,
.band-dark > .wrap > :first-child { margin-top: 0; }

/* The facts strip straddles the bottom edge of the dark hero: the section stays
   transparent and lifts the card by half its own height, so the card's centre lands
   on that edge. `translate` is deliberate: `.reveal` owns `transform` on this element
   and would overwrite a transform-based offset. */
.section:has(.stats) {
	padding-top: 0;
	position: relative;
	z-index: 2;
}

@media (min-width: 760px) {
	.section:has(.stats) .stats { translate: 0 calc(-1 * var(--facts-lift)); }
	/* The lift leaves the same amount of empty box under the card, so the padding gives
	   that back: the white space below the strip then equals every other band's gap. */
	.section:has(.stats) { padding-bottom: max(0px, calc(var(--gap-section) - var(--facts-lift))); }
}
.center { text-align: center; }

.skip {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 12px 18px;
	z-index: 100;
	border-radius: 0 0 10px 0;
}

.skip:focus { left: 0; top: 0; color: #fff; }

/* --------------------------------------------------------------- headings -- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--brand-700);
	margin-bottom: 18px;
}

.eyebrow--pill {
	padding: 7px 14px 7px 11px;
	border-radius: 999px;
	background: var(--brand-tint);
	border: 1px solid rgba(226, 55, 68, .16);
	letter-spacing: .08em;
}

.eyebrow--dark { color: #ff9aa2; background: rgba(255, 255, 255, .06); border-color: var(--dark-line); }

.lede {
	font-size: clamp(1.04rem, 1.3vw, 1.2rem);
	line-height: 1.62;
	color: var(--body);
	max-width: 60ch;
}

.section-head { max-width: 780px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head p { margin-bottom: 0; }
.section-head.center { margin-left: auto; margin-right: auto; }

/*
 * Prose with nothing to narrow it.
 *
 * The lede caps itself above and the section heads are capped beside it, but a
 * paragraph dropped straight into a section had no limit at all and took the full
 * container: 108 to 126 characters a line at tablet widths. These are the places
 * that happens; everything else already sits in a column that holds it.
 */
.step p,
.calc-fine,
.faq .faq-body p,
.rest .security-card > div p { max-width: var(--measure); }

.section-note {
	font-size: .95rem;
	color: var(--muted);
	margin-top: 22px;
	max-width: 70ch;
}

/* ---------------------------------------------------------------- buttons -- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 24px;
	border-radius: 12px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: .97rem;
	line-height: 1;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
	white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
	background: var(--brand-700);
	color: #fff;
	box-shadow: 0 2px 6px rgba(226, 55, 68, .28), 0 10px 24px -8px rgba(226, 55, 68, .5);
}
.btn-primary:hover { background: var(--brand-800); color: #fff; box-shadow: 0 4px 10px rgba(185, 34, 48, .3), 0 16px 30px -10px rgba(185, 34, 48, .55); }

.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cfd5e2; color: var(--ink); }

.btn-light { background: rgba(255, 255, 255, .1); color: #fff; border-color: var(--dark-line); }
.btn-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f2f4f8; color: var(--ink); }

.btn-lg { padding: 17px 30px; font-size: 1.03rem; border-radius: 13px; }
.btn-sm { padding: 10px 18px; font-size: .89rem; border-radius: 10px; }
.btn-block { width: 100%; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ----------------------------------------------------------------- header -- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .82);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* Set by site.js the moment the page scrolls: a hairline plus a faint shadow is
   what stops a glass header from looking like it is floating loose. */
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 1px 0 rgba(11, 14, 21, .02), 0 8px 24px -16px rgba(11, 14, 21, .28);
	background: rgba(255, 255, 255, .92);
}

.site-header .wrap { display: flex; align-items: center; gap: 26px; min-height: 74px; }

.brand {
	display: flex;
	align-items: center;
	gap: 11px;
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.16rem;
	color: var(--ink);
	text-decoration: none;
	letter-spacing: -.028em;
}

.brand:hover { color: var(--ink); }

.brand-mark {
	width: 32px;
	height: 32px;
	border-radius: 10px;
	flex: none;
	background: linear-gradient(140deg, #ef4d59, var(--brand-700));
	color: #fff;
	display: grid;
	place-items: center;
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: -.03em;
	box-shadow: 0 4px 12px -3px var(--brand-glow);
}

.brand small {
	display: block;
	font-family: var(--font-body);
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--faint);
	margin-top: -3px;
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }

.site-nav a {
	color: var(--body);
	text-decoration: none;
	font-size: .94rem;
	font-weight: 500;
	padding: 9px 13px;
	border-radius: 9px;
	transition: color .15s ease, background-color .15s ease;
}

.site-nav a:hover { color: var(--ink); background: rgba(11, 14, 21, .04); }
.site-nav .btn { margin-left: 10px; }
/* .site-nav a sets a body-grey colour and outranks .btn-primary, which left this button
   grey on red (1.84:1). Restore the white label its own hover state already uses. */
.site-nav .btn-primary { color: #fff; }
.site-nav .btn:hover { background: var(--brand-700); color: #fff; }

/* ---------------------------------------------------------- country switch -- */

/*
 * The country versions of this site, in the nav.
 *
 * A <details>, so it is keyboard operable and needs no script. It is styled with the same values as
 * the nav links around it, because it is a nav link that happens to open.
 */
.country-switch { position: relative; margin-left: 10px; }

.country-switch-summary {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 5px 11px;
	border-radius: 9px;
	color: var(--body);
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	transition: color .15s ease, background-color .15s ease;
}

.country-switch-summary::-webkit-details-marker { display: none; }

.country-switch-summary:hover,
.country-switch[open] .country-switch-summary { color: var(--ink); background: rgba(11, 14, 21, .04); }

/* A flag keeps its own proportions: not every country's flag is 3:2, and cropping one to a fixed box
   would show that country a flag it does not have. A hairline and a small shadow are what stop a pale
   flag from disappearing into a white bar. */
.country-flag {
	display: block;
	flex: none;
	line-height: 0;
	border: 1px solid rgba(11, 14, 21, .14);
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(11, 14, 21, .10);
}

/* `max-width: none` is deliberate: the global `img { max-width: 100% }` resolves against a
   shrink-to-fit parent here, which squashed the flag. With the height pinned and the width left to the
   file's own ratio, every flag is drawn at its true proportions. */
.country-flag img { display: block; height: 20px; width: auto; max-width: none; }

.country-switch-name {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1;
	white-space: nowrap;
}

.country-switch-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	z-index: 60;
	min-width: 216px;
	/*
	 * Fifteen markets are more rows than a laptop has room for under the nav, and a panel that runs off
	 * the bottom of the window has countries in it nobody can reach. It scrolls instead, and the
	 * overscroll containment stops a flick at the end of the list from scrolling the page behind it.
	 */
	max-height: min(70vh, 460px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--shadow);
	display: grid;
	gap: 2px;
}

.country-switch-title {
	margin: 2px 0 6px;
	padding: 0 11px;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--muted);
}

.country-switch-item {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 11px;
	border-radius: 9px;
	color: var(--body);
	font-size: .92rem;
	font-weight: 500;
	text-decoration: none;
}

.country-switch-item:hover { color: var(--ink); background: rgba(11, 14, 21, .04); }
.country-switch-item.is-current { color: var(--ink); font-weight: 650; }
.country-switch-item.is-current .country-flag { border-color: rgba(226, 55, 68, .55); box-shadow: 0 0 0 1px rgba(226, 55, 68, .28); }

/* ------------------------------------------------------------- nav menus -- */

/*
 * The two headings in the nav that carry a group under them.
 *
 * A <details>, exactly like the country switcher beside it: keyboard operable,
 * opens on Enter, and needs no script at all. The summary is styled with the same
 * numbers as the nav links around it, because it is a nav link that happens to
 * open rather than a different kind of control.
 */
.nav-menu { position: relative; }

.nav-menu-summary {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 13px;
	border-radius: 9px;
	color: var(--body);
	font-size: .94rem;
	font-weight: 500;
	cursor: pointer;
	list-style: none;
	transition: color .15s ease, background-color .15s ease;
}

.nav-menu-summary::-webkit-details-marker { display: none; }

.nav-menu-summary:hover,
.nav-menu[open] .nav-menu-summary { color: var(--ink); background: rgba(11, 14, 21, .04); }

/* Drawn rather than typed, so it cannot pick up the button's font or go missing. */
.nav-caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform .15s ease;
}

.nav-menu[open] .nav-caret { transform: rotate(180deg); }

.nav-menu-panel {
	position: absolute;
	left: 0;
	top: calc(100% + 10px);
	z-index: 60;
	min-width: 200px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
	box-shadow: var(--shadow);
	display: grid;
	gap: 2px;
}

.nav-menu-panel a { display: block; white-space: nowrap; }

/* On a phone the nav is a panel of its own, so the switcher opens in place rather than over the page. */
.nav-toggle {
	display: none;
	margin-left: auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 11px;
	width: 46px;
	height: 42px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-sm);
}

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	position: relative;
	transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------- hero -- */

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 6.5vw, 104px) 0 clamp(64px, 7vw, 104px);
	background:
		radial-gradient(1100px 520px at 78% -8%, rgba(226, 55, 68, .10), transparent 62%),
		radial-gradient(900px 460px at 6% 8%, rgba(27, 98, 214, .07), transparent 60%),
		linear-gradient(180deg, #fdfdff, #ffffff);
	border-bottom: 1px solid var(--line);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
	gap: clamp(32px, 5vw, 68px);
	align-items: center;
}

.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 28px; }

.hero-note {
	font-size: .92rem;
	color: var(--muted);
	margin: 18px 0 0;
}

.trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin-top: 26px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: .9rem;
	font-weight: 500;
	color: var(--ink-2);
}

.trust-item svg { flex: none; color: var(--ok); }

/* --------------------------------------------------------------- the mock -- */

.hero-stage { position: relative; min-height: 340px; }

.hero-stage .ui-phone {
	width: min(276px, 62%);
	margin-left: auto;
	position: relative;
	z-index: 2;
	transform: rotate(-1.1deg);
}

.hero-stage .stage-glow {
	position: absolute;
	inset: 8% -6% -14% 6%;
	background: radial-gradient(closest-side, rgba(226, 55, 68, .16), transparent 72%);
	filter: blur(6px);
	z-index: 0;
}

/* ------------------------------------------------------------------ stats -- */

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.stat { background: #fff; padding: 26px 24px; }
.stat-value {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 2.4vw, 1.95rem);
	font-weight: 800;
	letter-spacing: -.03em;
	color: var(--ink);
	line-height: 1.1;
}
.stat-label { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* ------------------------------------------------------------------ cards -- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: 28px 26px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #dfe3ec; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: .96rem; }

.card-icon {
	width: 42px;
	height: 42px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	background: var(--brand-tint);
	color: var(--brand-700);
}

.card-icon svg { width: 21px; height: 21px; }
.card--plain { box-shadow: none; background: transparent; border-color: transparent; padding: 0; }
.card--plain:hover { transform: none; box-shadow: none; }

/* Before and after, in one card: the old way is greyed and the new way is
   separated by a hairline, so the eye reads the change rather than two paragraphs. */
.card .problem-was { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.card .problem-now {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: .95rem;
	color: var(--ink-2);
	margin: 16px 0 0;
	padding-top: 16px;
	border-top: 1px solid var(--line-2);
}
.card .problem-now svg { flex: none; margin-top: 3px; color: var(--ok); }

.card-num {
	font-family: var(--font-display);
	font-size: 1.9rem;
	font-weight: 800;
	letter-spacing: -.04em;
	color: var(--brand);
	line-height: 1;
	margin-bottom: 14px;
}

/* -------------------------------------------------------------- the tour -- */

.tour { position: relative; margin-top: 8px; }

/* CSS-only tabs. Radios are hidden from view but stay in the accessibility
   tree, so arrow keys move between screens with no script at all -- and the
   page still works if the script never loads. */
.tour-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.tour-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 7px;
	background: var(--alt);
	border: 1px solid var(--line);
	border-radius: 16px;
	margin-bottom: 30px;
}

.tour-tabs label {
	flex: 1 1 auto;
	text-align: center;
	padding: 12px 16px;
	border-radius: 11px;
	font-size: .93rem;
	font-weight: 600;
	color: var(--muted);
	cursor: pointer;
	transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
	white-space: nowrap;
}

.tour-tabs label:hover { color: var(--ink); }

/*
 * The wiring. One checked radio shows one label as active and one panel as
 * visible, with no script involved: four rules each, written out because a
 * variable cannot appear in a selector.
 */
#tour-1:checked ~ .tour-tabs label[for="tour-1"],
#tour-2:checked ~ .tour-tabs label[for="tour-2"],
#tour-3:checked ~ .tour-tabs label[for="tour-3"],
#tour-4:checked ~ .tour-tabs label[for="tour-4"] {
	background: #fff;
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}

#tour-1:checked ~ .tour-panels #tour-panel-1,
#tour-2:checked ~ .tour-panels #tour-panel-2,
#tour-3:checked ~ .tour-panels #tour-panel-3,
#tour-4:checked ~ .tour-panels #tour-panel-4 {
	display: block;
}

/* A hidden radio still takes focus, so the ring has to be drawn on the label
   the visitor can actually see -- otherwise the tabs are unusable by keyboard. */
#tour-1:focus-visible ~ .tour-tabs label[for="tour-1"],
#tour-2:focus-visible ~ .tour-tabs label[for="tour-2"],
#tour-3:focus-visible ~ .tour-tabs label[for="tour-3"],
#tour-4:focus-visible ~ .tour-tabs label[for="tour-4"] {
	outline: 3px solid var(--brand);
	outline-offset: 2px;
}

/*
 * Every screen is on the page at once, as a row.
 *
 * This was `display: none` with four `:checked` rules above it showing one panel
 * at a time. The radios those rules read are gone from the markup, so the rules
 * are inert; the panel is simply a block, and the rows block at the foot of this
 * file gives it its spacing and its alternating sides.
 */
/*
 * The one thing on this page that could push the document wider than the screen.
 *
 * The four tour panels slide in from the side, and in its un-revealed state a panel is shifted 20px
 * right. Measured before this rule: every phone width from 320 to 560 scrolled sideways by exactly
 * 2px, because the page padding is 18px and the shift is 20 -- the difference is the 2px.
 *
 * Clipping horizontally on the row that holds them takes the sideways scroll away without touching
 * the motion: a panel is transparent while it is shifted, so nothing anybody can see is ever cut.
 * `clip` rather than `hidden`, because hidden would turn this row into a scroll container.
 */
.rows {
	overflow-x: clip;
}

.tour-panel { display: block; }
.tour-panel + .tour-panel { margin-top: clamp(48px, 7vw, 96px); }
.tour-panel-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.tour-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }

.tour-points li { display: flex; gap: 14px; align-items: flex-start; }
/* The page carries one hidden sprite of stroke icons, and every place that used to
   repeat the same tick now points at the drawing that matches its own sentence. */
.sprite { display: none; }

.ico {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tour-points .ico { margin-top: 3px; color: var(--ok); }

/* The two prose spots that carried a tick keep the colour and alignment rules their
   old svg had (.card .problem-now svg, .band-points svg); only the width has to be
   restated, because the .ico rule above would otherwise make all of them 19px. */
.ico--prose { width: 17px; height: 17px; }
.tour-points strong { display: block; font-size: 1rem; margin-bottom: 3px; }
.tour-points span { font-size: .95rem; color: var(--body); }

.tour-stage {
	display: grid;
	place-items: center;
	padding: clamp(20px, 3vw, 38px);
	background:
		radial-gradient(closest-side at 50% 40%, rgba(226, 55, 68, .11), transparent 70%),
		linear-gradient(180deg, #fbfcfe, #f5f7fb);
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	box-shadow: inset 0 1px 0 #fff;
	overflow: hidden;
}

/* ------------------------------------------------------------------- ui --- */

.ui {
	font-family: var(--font-body);
	background: #fff;
	color: var(--ink);
	line-height: 1.4;
}

.ui-window { border-radius: 1.6em; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.ui-screen { background: #fff; }
.ui-phone { box-shadow: var(--shadow-lg); border-radius: 2.4em; overflow: hidden; border: 1px solid #dfe3ec; background: #fff; padding: .5em; }
.ui-phone > .ui-screen { border-radius: 2em; overflow: hidden; }
/*
 * The phone screens are shot on a 6.7 inch handset and shown whole, so the frame
 * takes its shape from the picture. A fixed `aspect-ratio` here cropped every one
 * of them to 9:18.5, which cut the foot off a full phone screen.
 */
.ui-phone > .ui-screen img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: inherit;
}
.ui-tablet { box-shadow: var(--shadow-lg); border-radius: 1.5em; overflow: hidden; border: 1px solid #dfe3ec; background: #fff; padding: .6em; }
.ui-tablet > .ui-screen { border-radius: 1.1em; overflow: hidden; }
.ui-desktop { box-shadow: var(--shadow-lg); border-radius: 1.3em; overflow: hidden; border: 1px solid #dfe3ec; background: #fff; }

/* The kitchen frame keeps a dark bezel around the picture, the way a tablet is. */
.ui--dark { background: #0d1017; }

/* --------------------------------------------------------------- dark band -- */

.band-dark {
	position: relative;
	overflow: hidden;
	background: var(--dark);
	color: rgba(255, 255, 255, .72);
	padding: clamp(64px, 7vw, 108px) 0;
}

.band-dark::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto auto;
	width: 70%;
	height: 140%;
	background: radial-gradient(closest-side, rgba(226, 55, 68, .22), transparent 70%);
	pointer-events: none;
}

.band-dark > .wrap { position: relative; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lede { color: rgba(255, 255, 255, .74); }
.band-dark strong { color: #fff; }
.band-dark .section-note { color: rgba(255, 255, 255, .6); }

.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }

/* The intro band pairs a heading with a photograph. The picture needs a definite width:
   an image carries its own 1200px into the grid's intrinsic sizing pass, and with the
   phone rule's `1fr` track that width wins and pushes the column past the page edge. */
.band-intro { margin-bottom: clamp(36px, 4vw, 56px); }
.band-figure { margin: 0; }
.band-figure img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.band-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.band-points li { display: flex; gap: 14px; align-items: flex-start; }
.band-points svg { flex: none; margin-top: 3px; color: #ff8f98; }
.band-points strong { display: block; margin-bottom: 3px; }
.band-points span { color: rgba(255, 255, 255, .68); font-size: .96rem; }

.band-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
	border: 1px solid var(--dark-line);
	border-radius: var(--radius-xl);
	padding: clamp(20px, 3vw, 30px);
	backdrop-filter: blur(6px);
}

.queue-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--dark-line); }
.queue-row:last-child { border-bottom: 0; }
.queue-dot { width: 9px; height: 9px; border-radius: 50%; background: #f5b53d; flex: none; box-shadow: 0 0 0 4px rgba(245, 181, 61, .14); }
.queue-dot.is-ok { background: #2fbf71; box-shadow: 0 0 0 4px rgba(47, 191, 113, .16); }
.queue-name { flex: 1; font-size: .95rem; color: #fff; font-weight: 550; }
.queue-state { font-size: .84rem; color: rgba(255, 255, 255, .6); }

/* ------------------------------------------------------------------ steps -- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; counter-reset: step; }

.step { position: relative; padding-top: 34px; border-top: 2px solid var(--line); }
.step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: -19px;
	left: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .9rem;
}
.step h3 { margin: 16px 0 8px; }
.step p { font-size: .96rem; margin: 0; }

/* The step used to be a paragraph with a number on it. A wide still under the number
   turns the column into a frame, and the scrim keeps the bottom of the photo from
   fighting the label that follows it. */
.step-media {
  position: relative;
  margin: 0 0 4px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 14px 30px rgba(16, 24, 40, .14);
}

.step-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.step-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 46%;
  background: linear-gradient(to top, rgba(8, 11, 18, .45), rgba(8, 11, 18, 0));
  pointer-events: none;
}

.step:hover .step-media img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .step-media img { transition: none; }
  .step:hover .step-media img { transform: scale(1.01); }
}
.step-time { font-size: .82rem; font-weight: 700; color: var(--brand-700); letter-spacing: .06em; text-transform: uppercase; }

/*
 * -------------------------------------------------------------- icon lists --
 *
 * The stock section's feature lists, and the reason they are not ticks.
 *
 * A column of eight ticks says "eight things are included" and nothing else; it makes the reader
 * read every line to find the one they care about. Each line here opens with the icon that MEANS
 * it -- a supplier's shopfront, a bin, a delivery van -- so the shape of the list is readable
 * before a word of it is. The icons are strokes on the site's own 24 unit grid, taken from the
 * sprite at the top of the page, and they carry the section's accent colour rather than the
 * green the pricing page uses for "included", because these are not a promise of what is in the
 * box: they are what each row of the screen in front of them is.
 *
 * The text is a grid cell rather than a text-indent, so a line that wraps stays aligned under the
 * first word instead of sliding under the icon.
 */
.icon-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 13px; max-width: var(--measure); }
.icon-list li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: .95rem; color: var(--body); }
.icon-list .ico { width: 20px; height: 20px; margin-top: .12em; color: var(--brand); }
.icon-list strong { color: var(--ink); font-weight: 650; }

/* ---------------------------------------------------------------- gallery -- */

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 30px 14px 12px;
	background: linear-gradient(180deg, transparent, rgba(8, 11, 18, .82));
	color: #fff;
	font-size: .86rem;
	font-weight: 600;
}
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item.is-wide img { aspect-ratio: 2 / 1; }
figcaption { margin: 0; }

/* ------------------------------------------------------------------ roles -- */

.matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .96rem; }
.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
/* The plans table is the one place a table is followed straight by a screenshot block. A note used
   to sit between them and provided the gap; without it the table's rounded edge and the phone's
   case touch, so the gap is the section's own, the same one the head leaves under itself. */
.matrix-wrap + .screen { margin-top: clamp(36px, 4vw, 56px); }
.matrix th, .matrix td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-2); }
.matrix thead th { background: var(--alt); font-family: var(--font-display); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix tbody th { font-weight: 600; color: var(--ink); font-family: var(--font-body); }
.matrix td { color: var(--body); }
.matrix .yes { color: var(--ok); font-weight: 650; }
.matrix .no { color: var(--faint); }

.chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--alt);
	border: 1px solid var(--line);
	font-size: .82rem;
	font-weight: 600;
	color: var(--ink-2);
}

/* ---------------------------------------------------------------- pricing -- */

/*
 * The four package cards are read across, so they have to end level: the card with the fewest
 * lines used to stop short and leave a step along the bottom of the row. `stretch` makes every
 * card in the row as tall as the tallest, and the flex column below puts the button and the note
 * at the foot of each one so the four calls to action line up.
 *
 * Stacked on a phone this changes nothing: one card per row is already its own height.
 */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }

.plan {
	display: flex;
	flex-direction: column;
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	padding: 32px 28px;
	box-shadow: var(--shadow-sm);
	transition: box-shadow .2s ease, transform .2s ease;
}

.plan:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/*
 * The tier most restaurants should take is the one the eye should land on, so it
 * carries an accent ring and the deepest shadow on the page. On a wide screen it
 * also stands taller than its neighbours and gives its contents more room.
 *
 * The height comes from a negative block margin rather than from a scale, which
 * would blur the text, and the extra padding is 16px more than the other cards
 * top and bottom -- exactly the amount the card is allowed to overhang -- so the
 * four buttons still sit on one line along the bottom of the row.
 */
.plan-featured {
	border-color: rgba(226, 55, 68, .34);
	box-shadow: 0 0 0 1px rgba(226, 55, 68, .22), var(--shadow-lg);
	background: linear-gradient(180deg, #fff, #fffbfc);
}

@media (min-width: 1080px) {
	.plan-featured { margin-block: -16px; padding-block: 48px; }
}

/* The label is one line, centred on the card's top border. Left-aligned at a fixed 28px
   it wrapped onto two lines as the cards narrowed, which grew the pill to about 50px, so
   it covered the card's rounded top-left corner and reached down over the plan name. */
.plan-ribbon {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	/* --brand under a white label is 4.32:1, under AA for text this size. --brand-700,
	   the same red the primary buttons wear, clears it at 6.3:1. */
	background: var(--brand-700);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 6px 13px;
	border-radius: 999px;
	box-shadow: 0 6px 16px -6px var(--brand-glow);
}

.plan-name { margin: 0; font-size: 1.08rem; font-weight: 700; letter-spacing: .005em; }

/*
 * The audience line is reserved at TWO lines, because that is the most any of them
 * takes and the prices are read across the row. At 2.5em it held one line and a bit:
 * "Cafes, takeaways, cloud kitchens" wrapped to two and pushed its price 11px below
 * the others, so the four figures no longer sat on one line.
 */
.plan-for { margin: 5px 0 0; font-size: .88rem; color: var(--muted); min-height: 3.3em; }

/*
 * The price leads the card, because it is the thing the reader came for. The
 * cycle sits on the number's baseline, so "per month" reads as part of the figure
 * rather than as a caption under it.
 */
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; margin: 20px 0 0; }
.plan-price b {
	font-family: var(--font-display);
	font-size: clamp(2.55rem, 5vw, 3.05rem);
	font-weight: 800;
	letter-spacing: -.045em;
	color: var(--ink);
	line-height: 1;
}
.plan-cycle { font-size: .86rem; color: var(--muted); }

/* Enterprise is quoted rather than bought, so it is set back from the three
   self-serve cards and does not compete with the featured one. */
.plan-contact { grid-column: 1 / -1; background: var(--alt); }

/*
 * Enterprise is the fifth card in a grid that fits four, so the auto-fit left it
 * alone in the first column with three empty columns and a hole beside it. A
 * quoted tier that is not bought at a price is a different kind of thing anyway,
 * so it takes the whole row and reads across instead of down: who it is for and
 * what it costs on the left, what is included beside it, the way to ask on the
 * right. Below 761 the grid is one column and the card is already its own row.
 */
@media (min-width: 761px) {
	.plan-contact {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
		align-items: start;
		column-gap: clamp(24px, 3vw, 44px);
		row-gap: 18px;
		padding-block: 30px;
	}

	.plan-contact .plan-name { grid-column: 1; grid-row: 1; }
	.plan-contact .plan-for { grid-column: 1; grid-row: 2; min-height: 0; }
	.plan-contact .plan-price { grid-column: 1; grid-row: 3; }

	/* Five bullets in one column would run the height of the band; two columns of
	   them keep it a strip. The rule above the list only separates it from a price
	   stacked over it, which is not the shape here. */
	.plan-contact .plan-list {
		grid-column: 2;
		grid-row: 1 / span 3;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 11px 22px;
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.plan-contact .btn {
		grid-column: 1;
		grid-row: 4;
		justify-self: start;
		margin-top: 0;
	}

	/* A card that is one row of a table should not lift off it on hover. */
	.plan-contact:hover { transform: none; box-shadow: var(--shadow-sm); }
}

/* With the room for it, the way to ask moves out of the first column and stands
   beside the list rather than under the price. */
@media (min-width: 1080px) {
	.plan-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) auto; }

	.plan-contact .btn {
		grid-column: 3;
		grid-row: 1 / span 3;
		align-self: center;
	}
}

/*
 * Monthly or yearly, as one switch above the cards.
 *
 * Both figures are already in the markup -- the theme printed each one in the
 * visitor's own money -- and the switch only decides which of them is shown, so
 * nothing here converts a price. The two radios drive it through a sibling
 * selector, so it works with no script at all, the same way the country switcher
 * and the FAQ do. They are taken out of the flow but left focusable, so the
 * switch still answers to the keyboard and to a screen reader.
 */
.billing { display: contents; }

.billing-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.billing-input:focus-visible ~ .billing-switch { outline: 2px solid var(--brand); outline-offset: 3px; }

.billing-switch {
	display: flex;
	gap: 4px;
	width: max-content;
	margin: 0 auto clamp(22px, 3vw, 32px);
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--alt);
}

.billing-switch label {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 999px;
	font-size: .92rem;
	font-weight: 600;
	color: var(--muted);
	cursor: pointer;
	transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}

/*
 * The sentence under the switch, which answers "why is the year cheaper".
 *
 * It had no rule of its own, so it did two things it should not. It took the whole
 * container -- 1152px on a 1280 screen, about 150 characters on one line, well past
 * the point where the eye finds the start of the next one -- and the featured card's
 * ribbon, which overhangs its card by 29px, printed across its second line. The
 * measure is the same one the rest of the prose on this sheet uses, and the bottom
 * margin is the overhang plus room to spare.
 */
.billing-note {
	max-width: 68ch;
	margin: 0 auto clamp(38px, 4.5vw, 52px);
	text-align: center;
	text-wrap: balance;
}

/*
 * The green here is darker than --ok: this sits at the foot of the size range, so
 * the tinted pill has to clear 4.5:1 against its own background and the lighter
 * green only reaches 4.1:1. The size is .75rem rather than .72rem because 11.5px
 * is below the point where this reads at arm's length on a phone.
 */
.billing-save {
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--ok-tint);
	color: #0e7a38;
	font-size: .75rem;
	font-weight: 700;
	white-space: nowrap;
}

#bill-month:checked ~ .billing-switch label[for="bill-month"],
#bill-year:checked ~ .billing-switch label[for="bill-year"] {
	background: #fff;
	color: var(--ink);
	box-shadow: 0 1px 2px rgba(11, 14, 21, .06), 0 6px 16px -9px rgba(11, 14, 21, .3);
}

/* Tabular figures so the three prices line up down the row, and one shown at a time. */
.price-month,
.price-year { font-variant-numeric: tabular-nums; }
.price-year,
.cycle-year { display: none; }

#bill-year:checked ~ .plans .price-year,
#bill-year:checked ~ .plans .cycle-year { display: inline; }
#bill-year:checked ~ .plans .price-month,
#bill-year:checked ~ .plans .cycle-month { display: none; }

/* `flex: 1` lets the list take the slack, and `align-content: start` stops the grid stretching
   the gaps between the bullets to fill it, so the extra space lands under the last one. */
.plan-list { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 11px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; font-size: .93rem; align-items: flex-start; }
.plan-list svg { flex: none; margin-top: 3px; color: var(--ok); }
.plan-list .is-off { color: var(--faint); }
.plan-list .is-off svg { color: #c9cfdb; }
.plan .btn { margin-top: 26px; }

.plan-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/*
 * The trial, as a banner over the prices.
 *
 * It answers the first question a restaurant owner has -- what does it cost to
 * find out -- before the prices rather than after them, and it says it in one
 * line: how long it runs, what is switched on, and what it costs to start. A
 * strip rather than a panel, so it cannot be read as a fifth plan.
 */
.trial-banner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	max-width: 760px;
	margin: 0 auto clamp(26px, 4vw, 38px);
	padding: 15px 20px;
	border: 1px solid rgba(226, 55, 68, .2);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, var(--brand-tint), #fff);
	box-shadow: var(--shadow-sm);
}

.trial-pill {
	flex: none;
	padding: 6px 11px;
	border-radius: 999px;
	/* 4.32:1 under white at .76rem; --brand-700 clears 4.5:1 and matches the primary
	   button standing beside it in the same banner. */
	background: var(--brand-700);
	color: #fff;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
}

.trial-line { flex: 1 1 16ch; margin: 0; font-size: .95rem; color: var(--body); }
.trial-banner .btn { flex: none; }

/* Stacked on a phone the sentence is the middle line, so the whole banner is
   centred rather than left-ragged against a full-width button. */
@media (max-width: 520px) {
	.trial-banner { justify-content: center; text-align: center; }
	.trial-banner .btn { width: 100%; }
}

.demo-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	justify-content: space-between;
	margin-top: 22px;
	padding: 20px 26px;
	border: 1px dashed #cfd5e2;
	border-radius: var(--radius-lg);
	background: var(--alt);
}
.demo-strip p { margin: 0; font-size: .96rem; }
.demo-strip strong { display: block; font-family: var(--font-display); font-size: 1.02rem; }

.calc {
	margin-top: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius-xl);
	background: #fff;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.calc-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.calc-controls { padding: 30px 28px; }
.calc-out { padding: 30px 28px; background: var(--alt); border-left: 1px solid var(--line); }
.calc h3 { margin-bottom: 6px; }
.calc label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-2); margin: 22px 0 8px; }
.calc label span { color: var(--brand-700); font-weight: 700; }
.calc input[type="range"] { width: 100%; accent-color: var(--brand); }
.calc-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--faint); margin-top: 4px; }
.calc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.calc-row:last-of-type { border-bottom: 0; }
.calc-row b { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -.02em; }
.calc-big { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; color: var(--brand-700); line-height: 1.1; }
.calc-fine { font-size: .82rem; color: var(--muted); margin-top: 16px; }

/* --------------------------------------------------------------- security -- */

.security-card { display: flex; gap: 16px; align-items: flex-start; }
.security-card .card-icon { margin-bottom: 0; flex: none; width: 38px; height: 38px; border-radius: 12px; }
.security-card p { font-size: .94rem; margin: 6px 0 0; }

/* --------------------------------------------------- the rest of it, as rows -- */

/*
 * One row per feature, with a picture of the screen it describes beside the copy.
 *
 * These fourteen shared a three column grid, which leaves a picture the size of a stamp and
 * makes the whole section read as small print. A row each lets the picture be big enough to
 * read, and the sides alternate so the eye is led down the page rather than down a column of
 * identical boxes.
 *
 * The card keeps its own markup: the icon, the words and the picture become three grid cells
 * instead of a flex row, which is why nothing inside a card has to move.
 */
.rest { display: grid; gap: clamp(44px, 6vw, 88px); }

.rest .security-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	column-gap: clamp(24px, 3.5vw, 56px);
	align-items: center;
}

/* Every other row puts the picture on the left and the words beside it. */
.rest .security-card:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }

/* Two cells, not three: the little square icon that used to sit above each heading is gone,
   because the picture beside the words already says what the row is about. */
.rest .security-card > div { grid-column: 1; grid-row: 1; }
.rest .security-card > figure { grid-column: 2; grid-row: 1; margin: 0; }

.rest .security-card:nth-child(even) > figure { grid-column: 1; }
.rest .security-card:nth-child(even) > div { grid-column: 2; }

/*
 * Width is what decides the size here, and `object-fit` is what enforces the height ceiling.
 *
 * A bare `max-height` on an image that is also given `width: 100%` does not shorten it, it
 * squeezes it, because the width is already fixed and the ratio is then broken. `cover` keeps
 * the photograph's own shape inside a capped box and crops what does not fit, and `top` decides
 * which end survives: these are screens, so the top of the screen is the part worth keeping.
 *
 * The ladder is the sheet's own, six inches tight to five on a phone: a phone screenshot of a
 * half empty panel had no business being 8.9 inches tall in a row of landscape pictures.
 */
.rest .security-card > figure img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: cover;
	object-position: top;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

@media (max-width: 639px) { .rest .security-card > figure img { max-height: 5in; } }
@media (min-width: 640px) { .rest .security-card > figure img { max-height: 9in; } }
@media (min-width: 1024px) { .rest .security-card > figure img { max-height: 15in; } }

/*
 * The customer's own screen, which is a phone screen.
 *
 * It keeps a phone's width at EVERY size, and it is capped at five inches tall here rather than
 * inheriting the monitor ceiling. Left to fill the column it measured 8.9 inches at the monitor
 * size, which made this one row two and a half times the height of the other thirteen and turned
 * a half empty sign in panel into the tallest thing on the page.
 */
.rest .security-card > figure.is-phone img { max-width: 380px; max-height: 5in; margin: 0 auto; }

/*
 * Stacked only once the columns stop being wide enough to hold a sentence, which
 * is a phone. Holding this at 1080 stacked EVERY tablet: the words then ran the
 * full width of the page at a hundred characters a line, and thirteen rows of
 * picture-then-words made one section ten thousand pixels tall.
 */
@media (max-width: 760px) {
	.rest .security-card,
	.rest .security-card:nth-child(even) { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }

	.rest .security-card > div,
	.rest .security-card:nth-child(even) > div { grid-column: 1; grid-row: 1; }

	.rest .security-card > figure,
	.rest .security-card:nth-child(even) > figure { grid-column: 1; grid-row: 2; }
}

/*
 * A row whose picture has not been captured yet.
 *
 * ALL the words stay together in ONE column, and the picture column beside them is left
 * unclaimed, so the card reads as a row of text rather than as a row that failed to load.
 * Adding a <figure> and dropping this class turns the same markup into the two column row,
 * which is why nothing inside a card ever has to move.
 *
 * This rule was in the static sheet and NOT in this one, which is the sheet the site actually
 * loads. Five of the six rows that carry this class were finished today and lost it; this one
 * is the row about a customer's number, which nothing on either side of the app puts on screen,
 * so it has no picture to be given and keeps the class.
 */
.rest .security-card.is-text > div { grid-column: 1; align-self: start; }
.rest .security-card.is-text { align-items: start; }

/* -------------------------------------------------------------------- faq -- */

.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }

.faq details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.faq details[open] { border-color: #d8dee9; box-shadow: var(--shadow); }

.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 20px 24px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.03rem;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	margin-left: auto;
	width: 11px;
	height: 11px;
	flex: none;
	border-right: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:hover { color: var(--brand-700); }
.faq .faq-body { padding: 0 24px 22px; color: var(--body); font-size: .97rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------------- cta -- */

.cta-band {
	position: relative;
	overflow: hidden;
	text-align: center;
	padding: clamp(44px, 5.5vw, 76px) clamp(24px, 4vw, 64px);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(700px 320px at 50% -20%, rgba(226, 55, 68, .12), transparent 70%),
		linear-gradient(180deg, #fdfdff, #f7f8fb);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.cta-band h2 { margin-bottom: 12px; }
.cta-band .lede { margin: 0 auto 26px; }
.cta-band .hero-actions { justify-content: center; }

/* ----------------------------------------------------------------- footer -- */

.site-footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding: clamp(52px, 6vw, 76px) 0 30px; margin-top: clamp(56px, 6vw, 88px); }
.site-footer .brand { color: #fff; }
.site-footer a { color: rgba(255, 255, 255, .74); text-decoration: none; }
.site-footer a:hover { color: #fff; }

.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 34px; }

.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .94rem; }

.footer-brand p { font-size: .94rem; margin: 16px 0 0; max-width: 34ch; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .94rem; }

/*
 * A finger is not a mouse. Everywhere the site is touched rather than clicked, a footer link gets a
 * real target: 24px tall rather than the 19px its own line box is, which is the smallest a target may
 * be without asking the visitor to aim. The rows stay tight, so the footer is the same height.
 */
@media (max-width: 920px) {
	.footer-col ul a,
	.footer-links a { display: inline-flex; align-items: center; min-height: 24px; }
	.footer-col ul { gap: 6px; }
}

.footer-note {
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--dark-line);
	font-size: .88rem;
	color: rgba(255, 255, 255, .5);
	display: flex;
	justify-content: space-between;
	gap: 14px 26px;
	flex-wrap: wrap;
}

/* ------------------------------------------------------------------ legal -- */

.legal { max-width: 780px; margin: 0 auto; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: .35em; }
.legal h2 { font-size: 1.32rem; margin-top: 2.1em; }
.legal h3 { font-size: 1.06rem; margin-top: 1.6em; }
.legal p, .legal li { font-size: 1rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal .updated { font-size: .9rem; color: var(--muted); margin-bottom: 2.4em; }

/* The legal pages carry a plain nav (no hamburger), so it has to stay visible
   on a phone and wrap rather than overflow. */
.site-nav--plain { display: flex; flex-wrap: wrap; }
.site-nav--plain .is-hidden-sm { display: inline-flex; }

/* ----------------------------------------------------------------- motion -- */

/* Only a JS-enabled page hides content up front. Without the script the page is
   simply visible, which is the one failure mode worth designing around. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }

/*
 * The long rows in `.rest` get the same reveal by rule rather than by class. There are
 * twenty-one of them, they are the tallest thing on the page, and they sit a screen
 * apart, so each one arrives on its own and needs no stagger.
 *
 * KEEP THIS SELECTOR IN STEP WITH site.js. The stylesheet hides exactly what the script
 * observes, and anything hidden that is never observed would never come back.
 */
.js .rest > .security-card { opacity: 0; transform: translateY(16px); }
.js .rest > .security-card.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/*
 * -------------------------------------------------------------- hero, once --
 *
 * The hero is the one thing a visitor sees without scrolling, and until now it was the
 * one thing that never moved: every reveal on the site sits below it. This plays once as
 * the page paints.
 *
 * It is a keyframe rather than a class the script adds, so there is no state that can
 * leave the headline stranded at zero, and `both` ends the animation on its last frame,
 * which is the element's own appearance. The hero stage rides along on the sibling
 * selector, so a page without a hero copy column is untouched.
 */
@keyframes hero-in {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

.js .hero-copy > * { animation: hero-in .7s var(--ease) both; }
.js .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.js .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .24s; }
.js .hero-copy > *:nth-child(5) { animation-delay: .32s; }
.js .hero-copy > *:nth-child(6) { animation-delay: .4s; }
.js .hero-copy + .hero-stage { animation: hero-in .7s var(--ease) .2s both; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
	.js .rest > .security-card, .js .rest > .security-card.is-in { opacity: 1; transform: none; transition: none; }
	.js .hero-copy > *, .js .hero-copy + .hero-stage { animation: none; }
	.gallery-item:hover img { transform: none; }
	.card:hover, .plan:hover { transform: none; }
	.btn, .country-switch-summary { transition: none; }
}

/* ------------------------------------------------------------- responsive -- */

@media (max-width: 1080px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-stage { min-height: 0; margin-top: 12px; }
	.hero-stage .ui-phone { width: min(250px, 56%); margin: 0 auto; }
	.tour-panel-inner { grid-template-columns: 1fr; }
	.band-grid { grid-template-columns: minmax(0, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: 1fr; gap: 30px; }
	.calc-inner { grid-template-columns: 1fr; }
	.calc-out { border-left: 0; border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.matrix { font-size: .92rem; }
	.matrix th, .matrix td { padding: 13px 15px; }
}

/*
 * Four packages, laid out square.
 *
 * The base rule is auto-fit, which fits three across at a tablet width and then
 * leaves the fourth alone on a row of its own -- which reads as a mistake rather
 * than as a layout. Two by two until there is genuinely room for all four.
 */
@media (max-width: 1079px) {
	.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 639px) {
	.plans { grid-template-columns: 1fr; gap: 26px; }
}

/*
 * WHY 920 AND NOT 760. The nav is one row -- six links, the country switcher and the demo button --
 * and together they need about 865px. Between that width and 761px the row ran past the right edge of
 * a tablet in portrait, and because the page hides its own horizontal overflow the demo button was not
 * merely off screen: there was no way to scroll to it or to click it. The panel now takes over at the
 * width the row actually needs.
 */
@media (max-width: 920px) {
	.nav-toggle { display: flex; }
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		margin: 0;
		padding: 12px var(--gutter) 18px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 40px -20px rgba(11, 14, 21, .3);

		/* The panel hangs off a sticky header, so it is out of the page's flow and the page has
		   nothing to scroll: on a short screen the last items -- the country switcher and the demo
		   button -- would sit below the fold with no way to reach them. A ceiling of the viewport
		   minus the header (100% of the containing block) and a scroll of its own is what makes them
		   reachable. dvh rather than vh, because a phone's browser chrome comes and goes. */
		max-height: calc(100vh - 100%);
		max-height: calc(100dvh - 100%);
		overflow-y: auto;

		/* Contain, NOT the default, and this was arrived at the hard way. Contain stops a scroll
		   leaving the element it began in. The menu is an overlay hanging off a sticky header, so
		   the default lets a wheel inside the menu scroll the page underneath it as well -- measured
		   at 548px of page movement for one wheel in a 336px-tall window, with the menu still
		   scrolling at the same time. Contain is what keeps the page still.

		   The cost, and it is a real one: where the menu's content FITS its box, a scroll over the
		   menu does nothing at all rather than falling through to the page. That only happens on a
		   viewport tall enough to show the whole menu with the groups shut, and it is the price of
		   not having the page jump about behind an open panel. On a screen short enough that the menu
		   overflows -- which is every phone at the sizes this menu exists for -- there is always
		   something for it to scroll, so the cost is never paid. */
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}
	.site-nav.is-open { display: flex; }
	.site-nav a { padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
	.site-nav .btn { margin: 10px 0 0; }
	.site-nav--plain { position: static; display: flex; flex-direction: row; padding: 0; background: none; border: 0; box-shadow: none; gap: 4px 12px; }
	.site-nav--plain .is-hidden-sm { display: none; }

	/* Inside the panel the switcher is a row like the links around it, with its own panel opened in
	   place rather than floating over the page. */
	.country-switch { margin-left: 0; width: 100%; }
	.country-switch-summary { width: 100%; align-items: flex-start; padding: 13px 12px; }
	.country-switch-panel { position: static; margin: 4px 0 8px; box-shadow: none; }

	/* The grouped headings open in place for the same reason: inside the collapsed panel there is
	   nothing to float over, and a menu that covers the links below it would be worse than one that
	   pushes them down. */
	.nav-menu { width: 100%; }
	.nav-menu-summary { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 1rem; border-radius: 10px; }
	.nav-menu-panel { position: static; margin: 4px 0 8px; box-shadow: none; min-width: 0; }
}

/*
 * Very little height to spend.
 *
 * At 336px tall -- a browser window dragged short, or a phone turned sideways -- the panel is
 * 261px for 583px of menu, so the country list and the demo button are a long scroll away and
 * the menu reads as though it has no bottom, which is how it was reported. Tightening the rows
 * buys two or three of them back, and it is the only lever left: the panel already runs from
 * under the header to the bottom of the window and cannot be any taller. 40px is still a
 * full-width target, which is what a touch screen needs.
 */
@media (max-width: 920px) and (max-height: 520px) {
	.site-nav { padding-top: 8px; padding-bottom: 12px; }
	.site-nav a,
	.nav-menu-summary,
	.country-switch-summary { padding: 9px 12px; }
	.site-nav .btn { margin-top: 6px; }
}

@media (max-width: 760px) {
	:root { --gutter: 18px; }

	body { font-size: 16px; }

	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery-item.is-wide { grid-column: span 2; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.tour-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.tour-tabs::-webkit-scrollbar { display: none; }
	.tour-tabs label { flex: 0 0 auto; }
	.hero-actions .btn { width: 100%; }
	.hero-stage .ui-phone { width: min(230px, 70%); transform: none; }
	.footer-note { display: block; }
	.footer-note span { display: block; margin-bottom: 8px; }
}

@media (max-width: 420px) {
	.gallery-item.is-wide img { aspect-ratio: 1 / 1; }
	.stat { padding: 20px 18px; }
	.card { padding: 24px 20px; }
	.plan { padding: 28px 22px; }
	.mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/*
 * One width per frame; the picture inside fills it. The caps are what stop a
 * desktop window growing as wide as the column it happens to sit in.
 */
.hero-stage .ui-phone, .tour-stage .ui-phone { width: min(264px, 68%); }
.tour-stage .ui-tablet { width: 100%; max-width: 470px; }
.tour-stage .ui-desktop { width: 100%; max-width: 580px; }

/*
 * The four screens are different heights, and a stage that resizes under the
 * tabs makes the whole page jump every time somebody looks at the next one. A
 * floor on the height keeps the page still; the tallest frame is the phone at
 * about 390px, so anything above that leaves the same gap around all four.
 */
@media (min-width: 1081px) {
	.tour-stage { min-height: 470px; }
}

/*
 * Stacked, the phone panel is the tallest and the two desktop panels the
 * shortest, so the same floor cannot be a single number: the phone needs about
 * 455px down to 900px wide, while a tablet below that is happy with 380. Two
 * bands, so the page holds still at every width rather than only on a laptop.
 */
@media (max-width: 1080px) and (min-width: 761px) {
	.tour-stage { min-height: 460px; }
}

@media (max-width: 1080px) {
	.hero-stage .ui-phone { width: min(244px, 58%); }
}

@media (max-width: 760px) {
	.tour-stage { padding: 16px 12px; min-height: 380px; }
}

/* ============================================================== the rows -- */

/*
 * A row: one picture, one block of words, side by side, and every other one
 * flipped. This is what the product tour is built from now.
 *
 * It used to be a set of CSS-only tabs: four radios, four labels and four rules
 * that showed one screen at a time. Clever, and it worked with no script, but it
 * also meant a visitor read ONE of the four screens and had to know to click for
 * the rest, and the four screens are the entire product. Stacked as rows, every
 * screen gets its own heading and its own half of the page, and the page reads
 * top to bottom the way a page is read.
 *
 * Alternating the side is what stops four rows reading as a list: the eye moves
 * down in a zigzag instead of running down one edge. It is done with `order` on
 * the one child rather than by reversing the markup, so the source order stays
 * the order a screen reader and a phone should hear it in: words, then the
 * picture of what the words just described.
 */
.tour-panel-inner {
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

@media (min-width: 900px) {
	/*
	 * On a wide screen the panel becomes the grid and the inner wrapper steps out of the way,
	 * so the title and the bullets can be placed as two rows of the words column. The title
	 * used to sit above the whole row, which read as a caption for the picture rather than a
	 * heading for the three points underneath it.
	 *
	 * The picture spans both rows, and `align-content: center` keeps the words level with it.
	 */
	.tour-panel {
		display: grid;
		grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
		column-gap: clamp(28px, 4vw, 56px);
		align-content: center;
	}

	.tour-panel-inner { display: contents; }

	.tour-panel-inner > .tour-stage { grid-column: 1; grid-row: 1 / span 2; }
	.tour-panel-inner > .tour-title { grid-column: 2; grid-row: 1; }
	.tour-panel-inner > .tour-points { grid-column: 2; grid-row: 2; }

	/* The flipped rows put the picture on the other side, words and title together. */
	.tour-panel--flip .tour-stage { grid-column: 2; }
	.tour-panel--flip .tour-title,
	.tour-panel--flip .tour-points { grid-column: 1; }
}

/* On a phone the panel is one column, and the title keeps its place at the top of it: words,
   then the picture of what the words just described. */
.tour-panel-inner > .tour-title { order: -1; }

.tour-title {
	font-size: clamp(1.25rem, 2.2vw, 1.6rem);
	letter-spacing: -.015em;
	margin: 0 0 22px;
}

/* A row of pictures on its own, for the menu gallery. */
.row-media {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--alt);
	box-shadow: var(--shadow);
}

/*
 * The picture grows a little when its row is hovered, inside a frame that clips
 * it. Four per cent, on the image, so nothing on the page moves: a hover that
 * shifts layout is a hover that makes the reader lose their place. Paired with
 * the shadow deepening, it is enough to make a row feel alive under the cursor.
 */
.row-media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .7s var(--ease);
}

.row-media:hover { box-shadow: var(--shadow-lg); }
.row-media:hover img { transform: scale(1.045); }

/* ========================================================== the hero photo -- */

/*
 * The hero, on a photograph: a customer at the counter of a small kitchen, with
 * the shop's own QR sticker in the frame and a chef behind the glass. It says
 * what the product is for faster than a headline can, and it is served from this
 * folder like every other image, so the page still calls nobody else's server.
 *
 * The scrim is not decoration. White words over a photograph are readable or not
 * depending on which photograph, and the picture is chosen long after the rule is
 * written, so the gradient carries the contrast and the text never depends on luck.
 * The drawn screens move in from the right of their own accord at this width and
 * sit ON the picture, which is why only the phone stays: two devices over a photo
 * is a product shot, one is a hero.
 */
.hero--photo {
	padding: clamp(72px, 9vw, 132px) 0 clamp(68px, 8vw, 118px);
	background-image: var(--hero-image);
	background-position: center;
	background-size: cover;
	border-bottom: 0;
	isolation: isolate;
}

/*
 * Room under the phone, on a tablet.
 *
 * The facts strip is lifted 68px into the hero's bottom edge -- that lift is what
 * makes it straddle the join rather than sit below it. The hero's own bottom
 * padding floors at 68px as well, so between roughly 760 and 1024 the two cancel
 * exactly and the card's top edge comes to rest on the foot of the phone: 2px of
 * overlap at 768, and only 12px of daylight at 1024. Above that the padding grows
 * past the lift and the gap looks after itself; below it the strip stops lifting.
 * So the padding floor is raised over that band alone.
 */
@media (min-width: 761px) and (max-width: 1080px) {
	.hero--photo { padding-bottom: clamp(112px, 13vw, 128px); }
}

.hero--photo::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(9, 11, 15, .82) 0%, rgba(9, 11, 15, .60) 46%, rgba(9, 11, 15, .24) 100%),
		linear-gradient(180deg, rgba(9, 11, 15, .28), rgba(9, 11, 15, .52));
}

.hero--photo .hero-grid { grid-template-columns: minmax(0, 42rem) minmax(0, 1fr); }
.hero--photo h1 { color: #fff; }
.hero--photo .lede { color: rgba(255, 255, 255, .93); }

/*
 * The Help page's hero is the same photograph frame, with a .section-head inside it rather than the
 * front page's .hero-grid. Its eyebrow and its jump links are the two parts that would otherwise still
 * be drawn for a white page: a red label and white pills sitting on a dark photograph.
 */
.hero--photo .section-head .eyebrow { color: rgba(255, 255, 255, .86); }
.hero--photo .jump a { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.hero--photo .jump a:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); color: #fff; }
.hero--photo .hero-note { color: rgba(255, 255, 255, .78); }
.hero--photo .trust-item { color: rgba(255, 255, 255, .94); }
.hero--photo .trust-item svg { color: #8ce8b0; }
.hero--photo .stage-glow { display: none; }
.hero--photo .hero-stage { min-height: 0; display: grid; place-items: center; }
.hero--photo .btn-ghost {
	background: rgba(255, 255, 255, .10);
	border-color: rgba(255, 255, 255, .58);
	color: #fff;
}
.hero--photo .btn-ghost:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.hero--photo .eyebrow--pill {
	background: rgba(255, 255, 255, .16);
	border-color: rgba(255, 255, 255, .36);
	color: #fff;
}

/*
 * The photograph is a band at the top on a phone, so the words sit on a flat
 * enough part of it to stay legible at one column.
 *
 * The breakpoint is 1080 to match the one the plain hero already uses, because
 * this rule was the only thing keeping the photo hero two columns below it. Held
 * two columns all the way down to 901, the right-hand column had whatever the
 * 42rem of words left over -- about 150px at 918 -- and the phone shrank to 91px
 * across. It was at its largest on a phone and its smallest on a small laptop,
 * which is the wrong way round.
 */
@media (max-width: 1080px) {
	.hero--photo .hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero--photo::before {
		background: linear-gradient(180deg, rgba(9, 11, 15, .66) 0%, rgba(9, 11, 15, .82) 100%);
	}
}

/* ================================================= reveal, in from the side -- */

/*
 * A row comes in from the side it is standing on, which is the point of
 * alternating the sides at all: one row arriving from the left and the next from
 * the right reads as a rhythm rather than as a page that is still loading. The
 * stagger itself is already in the stylesheet above (`--i`), so a row only has to
 * say which side it is on.
 */
.js .reveal--left { transform: translate3d(-20px, 12px, 0); }
.js .reveal--right { transform: translate3d(20px, 12px, 0); }

/* ============================================================ help page -- */

/*
 * The Help page is the one page that pairs a real screenshot with the sentence
 * that explains it, so everything here exists to keep those two in step: the
 * picture and its words sit side by side on a wide screen, the picture is capped
 * on a phone rather than stretched to a column, and the facts under a heading are
 * a list of dots so a skim reads as a list and not as prose.
 *
 * The screenshots are 430px phone captures at 2x (860 wide) of the demo store, one screen each.
 * Nothing here scales them up beyond their own width.
 */

.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 11px 17px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: .92rem;
	font-weight: 600;
	box-shadow: var(--shadow-sm);
}
.jump a:hover { border-color: #cfd5e2; color: var(--brand-700); }

.section-head h1 { font-size: clamp(1.85rem, 4.3vw, 2.8rem); margin-bottom: 16px; }

/* The steps continue numbering across the two rows rather than restarting. */
/*
 * THE FIVE SETUP STEPS NOW CARRY THE SCREEN EACH ONE HAPPENS ON, so the section is a list of rows
 * rather than the three-up grid the landing page uses: the phone takes one half and the step the
 * other, and every other row turns round, so the eye crosses the page instead of running down one
 * column of five phones. The number and the rule stay on the text column, where they still read as a
 * numbered list once there is a picture beside them.
 */
.steps--rows { grid-template-columns: minmax(0, 1fr); gap: clamp(34px, 5vw, 54px); }
.step-row { display: grid; gap: clamp(22px, 3vw, 40px); }

@media (min-width: 880px) {
	/* The same two halves the screens section below uses, so a phone is centred in whichever half it
	   is in and every row has one shape. Two equal halves are also what makes the swap below a swap:
	   a 264px first column would hand the text the narrow column and the picture the wide one. */
	.step-row {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: clamp(32px, 4vw, 60px);
	}

	.step-row:nth-child(even) > .shot { order: 2; }
}

.screen { display: grid; gap: clamp(22px, 3vw, 34px); align-items: start; }
.screen + .screen { margin-top: clamp(44px, 6vw, 76px); }
.screen-text h3 { margin: 0 0 10px; font-size: 1.28rem; }
/* Capped at the reading measure: below the width where the screen's two columns
   collapse, this text takes the whole row and ran to 95 characters a line. */
.screen-text p { color: var(--body); font-size: .98rem; max-width: var(--measure); }

.screen-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.screen-facts li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--body); }
.screen-facts li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: .58em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brand);
}

/*
 * A SCREENSHOT IS SHOWN IN THE DEVICE IT WAS TAKEN ON, and it is one device for the whole site: the
 * landing page's hero, the tour, the Help page and the Guide all draw the same 6.1 inch iPhone, and a
 * capture of a wide screen gets the 11 inch tablet a kitchen display is mounted in.
 *
 * THE CAPTURE IS A 6.1 INCH SCREEN: 393 x 852 CSS pixels, shot at 3x, so every file is 1179 x 2556 --
 * what the device tables give as a 6 inch phone. It was 430 x 932, a 6.7 inch handset, until
 * 2026-10-04: a screen 37 CSS pixels wider than the phone this product is sold to run on.
 *
 * One body, two devices. `.shot` on the Help and Guide pages and `.ui-phone` on the landing page are
 * the same frame; `.shot--tablet` and `.ui-tablet` are the other. A figure says which device it is and
 * nothing else about its size:
 *
 *   <figure class="screen-media shot">               the 6.1 inch iPhone
 *   <figure class="screen-media shot shot--tablet">  the 11 inch tablet
 *
 * The picture sits in the same grid cell as the case's `::before`, which is given negative margins to
 * reach out past the screen on all four sides. That is how a case gets drawn AROUND a picture with no
 * wrapper element, and how the caption under the picture stays outside the case. The speaker slot, the
 * home indicator and the tablet's camera are backgrounds on the case rather than more elements,
 * because a figure has two pseudo-elements and the second one is the buttons.
 *
 * THE BEZEL IS PAID FOR OUT OF THE WIDTH, and the width is the number that must not be given away: the
 * frame is 207px with the case on, so the screen inside is the width ten of them down one page can
 * afford. Nothing is cropped or stretched either -- a phone capture is 2.17 times as tall as it is
 * wide and a tablet one is 1.43, so the case takes its shape from the picture every time.
 */
.ui-phone,
.shot,
.ui-tablet,
.shot--tablet {
	position: relative;
	display: grid;
	max-width: 100%;
	margin: 0 auto;
	/* The case is drawn by ::before, so nothing else may paint behind it. */
	background: transparent;
	border: 0;
}
.ui-phone,
.shot {
	width: var(--shot-phone-w);
	padding: var(--device-bezel-top) var(--device-bezel-x) var(--device-bezel-bottom);
}
.ui-tablet,
.shot--tablet {
	width: var(--shot-tablet-w);
	padding: var(--tablet-bezel);
}

.ui-phone > .ui-screen,
.shot > img,
.ui-tablet > .ui-screen,
.shot--tablet > img {
	grid-area: 1 / 1;
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
	border-radius: var(--device-screen-radius);
	background: #fff;
}
.ui-tablet > .ui-screen,
.shot--tablet > img { border-radius: var(--tablet-screen-radius); }
.ui-phone > .ui-screen img { width: 100%; height: auto; display: block; }

/* The case: the picture's own box, grown by the bezel on every side. */
.ui-phone::before,
.shot::before,
.ui-tablet::before,
.shot--tablet::before {
	content: "";
	grid-area: 1 / 1;
	background-color: var(--device-body);
	background-repeat: no-repeat;
	box-shadow: var(--shadow-lg), 0 0 0 1px var(--device-edge);
}
.ui-phone::before,
.shot::before {
	margin: calc(var(--device-bezel-top) * -1) calc(var(--device-bezel-x) * -1) calc(var(--device-bezel-bottom) * -1);
	border-radius: var(--device-body-radius);
	/* the speaker slot above the screen, the home indicator below it */
	background-image: linear-gradient(var(--device-detail), var(--device-detail)),
		linear-gradient(var(--device-detail), var(--device-detail));
	background-size: 26% 5px, 38% 4px;
	background-position: 50% calc(var(--device-bezel-top) / 2 - 2px), 50% calc(100% - var(--device-bezel-bottom) / 2 + 2px);
}
.ui-tablet::before,
.shot--tablet::before {
	margin: calc(var(--tablet-bezel) * -1);
	border-radius: var(--tablet-body-radius);
	/* the front camera, on the long edge above the screen */
	background-image: radial-gradient(circle at 50% 50%, var(--device-detail) 0 3px, transparent 3px);
	background-size: 8px 8px;
	background-position: 50% calc(var(--tablet-bezel) / 2 - 4px);
}

/* The volume pair on the left edge and the power button on the right, flush to the case. */
.ui-phone::after,
.shot::after {
	content: "";
	grid-area: 1 / 1;
	margin: calc(var(--device-bezel-top) * -1) calc(var(--device-bezel-x) * -1 - 2px) calc(var(--device-bezel-bottom) * -1);
	pointer-events: none;
	background-repeat: no-repeat;
	background-image: linear-gradient(var(--device-edge), var(--device-edge)),
		linear-gradient(var(--device-edge), var(--device-edge)),
		linear-gradient(var(--device-edge), var(--device-edge));
	background-size: 2px 24px, 2px 24px, 2px 38px;
	background-position: 0 30%, 0 42%, 100% 36%;
}
.ui-tablet::after,
.shot--tablet::after { content: none; }

.shot figcaption,
.ui-phone figcaption {
	grid-area: 2 / 1;
	margin-top: 14px;
	font-size: .86rem;
	color: var(--muted);
}

/* Every tablet on the site carries the dark case now, so the marker class has nothing left to do. */
.ui--dark { background: transparent; }

@media (min-width: 880px) {
	.screen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 60px); }
	.screen--flip .screen-media { order: 2; }
}

@media (max-width: 420px) {
	.jump { gap: 6px; }
	.jump a { padding: 10px 14px; font-size: .88rem; }
}

.faq--spaced { margin-top: clamp(38px, 5vw, 62px); }

@media (prefers-reduced-motion: reduce) {
	.js .reveal--left,
	.js .reveal--right { transform: none; }
	.row-media:hover img { transform: none; }
}

/* ------------------------------------------------------------------ print -- */

@media print {
	.site-header, .site-footer, .band-dark::before, .tour-tabs { display: none; }
	body { color: #000; }
	.tour-panel { display: block !important; }
	.card, .plan, .calc, .matrix-wrap { box-shadow: none; }
}
