:root {
  --paper: #f2f5f9;
  --surface: #ffffff;
  --ink: #0d1b2e;
  --ink-soft: #46556b;
  --line: #d9e0ea;
  --blue: #0a4da2;
  --blue-ink: #ffffff;
  --blue-soft: #e3ecf8;
  --amber: #f0a020;
  --amber-ink: #2a1a00;
  --kitchen: #121c2c;
  --kitchen-text: #e8edf5;
  --shadow: 0 1px 2px rgb(13 27 46 / .06), 0 12px 32px -12px rgb(13 27 46 / .22);
  --logo-bg: transparent;
  --ok: #2f7d3c;
  --error: #b42318;
  --footer-bg: #0d1b2e;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0b1422;
    --surface: #111d30;
    --ink: #e6ecf5;
    --ink-soft: #9fb0c7;
    --line: #22324a;
    --blue: #4d8fe8;
    --blue-ink: #06101f;
    --blue-soft: #16294a;
    --amber: #f3b245;
    --kitchen: #070d18;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 36px -14px rgb(0 0 0 / .7);
    --logo-bg: transparent;
    --ok: #6fd08a;
    --error: #ff8a7a;
    --footer-bg: #060b14;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0b1422;
  --surface: #111d30;
  --ink: #e6ecf5;
  --ink-soft: #9fb0c7;
  --line: #22324a;
  --blue: #4d8fe8;
  --blue-ink: #06101f;
  --blue-soft: #16294a;
  --amber: #f3b245;
  --kitchen: #070d18;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 36px -14px rgb(0 0 0 / .7);
  --logo-bg: #ffffff;
  --ok: #6fd08a;
  --error: #ff8a7a;
  --footer-bg: #060b14;
}

* { box-sizing: border-box; }
/* Short pages keep the footer at the bottom of the screen. */
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }

/* Header: logo and the Products menu on the left, Contact on the right. */
html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { position: relative; display: flex; align-items: center; gap: 12px; min-height: 68px; }
/* The FortiPOS logo from the Staff app (assets/fortilogo_crop.png); a white copy for dark backgrounds. */
.logo { display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; padding: 4px 6px; margin-left: -6px; background: var(--logo-bg); }
.logo img { height: 33px; width: auto; }
.nav { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-trigger, .nav-link {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 11px; text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface);
  color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.nav-trigger svg, .nav-link svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.nav-trigger .grid-icon, .nav-link .grid-icon { width: 18px; height: 18px; color: var(--blue); stroke-width: 1.9; }
.nav-trigger .chev { width: 14px; height: 14px; color: var(--ink-soft); stroke-width: 1.8; transition: transform .15s ease; }
.nav-trigger:hover, .nav-link:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); background: var(--blue-soft); }
.nav-link { padding-right: 14px; }
.nav-link[aria-current="page"] { border-color: var(--blue); background: var(--blue-soft); }
.nav-trigger[aria-expanded="true"], .nav-trigger.is-current { border-color: var(--blue); background: var(--blue-soft); }
.nav-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
/* The Products and Payments menus hang from the header's right edge. */
.nav-menu {
  display: none; position: absolute; top: calc(100% + 6px); right: clamp(16px, 4vw, 40px); gap: 4px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
}
.products-menu { width: min(700px, calc(100vw - 32px)); grid-template-columns: 1fr 1fr; }
.payments-menu { width: min(400px, calc(100vw - 32px)); }
.top[data-open="products-menu"] .products-menu, .top[data-open="payments-menu"] .payments-menu { display: grid; }
.nav-menu a {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--blue-soft); }
.pm-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.nav-menu a:hover .pm-icon, .nav-menu a[aria-current="page"] .pm-icon { background: var(--surface); }
.pm-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pm-text { display: grid; gap: 2px; }
.pm-text strong { font: 600 15px/1.3 var(--body); }
.pm-desc { font-size: 14px; line-height: 1.4; color: var(--ink-soft); }
.top .btn { height: 42px; padding: 0 20px; font-size: 15px; }
.products-menu .pm-extra, .products-menu .pm-heading { display: none; }
.menu-btn {
  display: none; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border-radius: 10px; cursor: pointer;
  border: 1.5px solid var(--line); background: transparent; color: var(--ink);
}
.menu-btn svg { width: 20px; height: 20px; }
/* Phones: the Products list opens from the menu button as a panel under the header. */
@media (max-width: 760px) {
  .nav-trigger, .nav-link { display: none; }
  .products-menu .pm-extra { display: grid; margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; padding-top: 14px; }
  .products-menu .pm-extra + .pm-extra { margin-top: 0; border-top: 0; padding-top: 10px; }
  .products-menu .pm-heading {
    display: block; margin: 8px 0 0; padding: 14px 8px 4px; border-top: 1px solid var(--line);
    font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  }
  .products-menu .pm-heading + .pm-extra { margin-top: 0; border-top: 0; padding-top: 10px; }
  .payments-menu { display: none !important; }
  .menu-btn { display: inline-flex; }
  .products-menu {
    top: 100%; left: 0; right: 0; width: auto; grid-template-columns: 1fr; gap: 2px;
    padding: 8px clamp(16px, 4vw, 40px) 16px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .products-menu a { padding: 10px 8px; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1 var(--body); text-decoration: none;
  padding: 14px 22px; border-radius: 10px;
  background: var(--blue); color: var(--blue-ink);
  border: 0; cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* Hero */
.hero { padding-block: clamp(40px, 6vw, 72px) clamp(48px, 7vw, 88px); }
.hero-copy { max-width: 820px; margin: 0 auto clamp(32px, 5vw, 48px); text-align: center; }
.hero-copy .lede { margin-inline: auto; }
.hero-shot { margin: 0 auto; max-width: 1100px; padding: clamp(8px, 1.2vw, 16px); border-radius: clamp(16px, 2.4vw, 30px); }
.hero-shot img { border-radius: clamp(8px, 1.2vw, 16px); }
.eyebrow {
  font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
  margin: 0 0 18px;
}
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 {
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; font-weight: 900; font-stretch: 112%;
  letter-spacing: -.02em;
}
h1 em { font-style: italic; color: var(--blue); }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-soft); max-width: 34em; margin: 24px 0 0; }

/* Order trail: one real ticket across stations */
.trail {
  background: var(--kitchen); color: var(--kitchen-text);
  border-radius: 18px; padding: 26px 24px 22px; box-shadow: var(--shadow);
  font-family: var(--mono);
}
.trail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.ticket-no { font: 600 26px/1 var(--mono); color: #fff; }
.ticket-no span { color: var(--amber); }
.trail-sub { font-size: 12px; color: #9fb0c7; letter-spacing: .06em; text-transform: uppercase; }
.trail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.trail li {
  display: grid; grid-template-columns: 58px 1fr auto; gap: 14px; align-items: start;
  padding: 12px 0; border-top: 1px dashed #2a3a54; font-size: 14px;
}
.trail li:first-child { border-top: 0; }
.trail time { color: #9fb0c7; font-variant-numeric: tabular-nums; }
.trail strong { display: block; font: 600 15px/1.3 var(--body); color: #fff; }
.trail small { font-family: var(--body); color: #9fb0c7; font-size: 13px; }
.chip {
  font: 600 11px/1 var(--mono); padding: 6px 8px; border-radius: 6px; white-space: nowrap;
  background: #1d2c44; color: #cfe0ff; letter-spacing: .04em;
}
.chip.amber { background: var(--amber); color: var(--amber-ink); }
.chip.green { background: #2f7d3c; color: #eaffea; }
@media (prefers-reduced-motion: no-preference) {
  .trail li { animation: step .5s ease both; }
  .trail li:nth-child(2) { animation-delay: .12s; }
  .trail li:nth-child(3) { animation-delay: .24s; }
  .trail li:nth-child(4) { animation-delay: .36s; }
  .trail li:nth-child(5) { animation-delay: .48s; }
  @keyframes step { from { transform: translateX(-6px); opacity: .35; } to { transform: none; opacity: 1; } }
}

/* Device frames */
.window {
  border-radius: 12px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.window .bar {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px;
  font: 500 12px/1 var(--body); color: var(--ink-soft);
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.window .bar i { width: 14px; height: 14px; border-radius: 3px; background: var(--blue); }
.tablet {
  border-radius: 22px; padding: 12px; background: #0a0f18; box-shadow: var(--shadow);
}
.tablet img { border-radius: 12px; }
.phone {
  border-radius: 30px; padding: 10px; background: #0a0f18; box-shadow: var(--shadow);
  max-width: 280px; width: 100%;
}
.phone img { border-radius: 22px; }

.showcase { padding-block: 8px 56px; }

/* Sections by place in the restaurant */
.place { padding-block: clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.place-head { display: grid; grid-template-columns: 220px 1fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 760px) { .place-head { grid-template-columns: 1fr; gap: 8px; } }
.where {
  font: 600 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
  padding-top: 10px;
}
.where::before {
  content: ""; display: inline-block; width: 18px; height: 10px; margin-right: 10px;
  background: var(--amber); clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); vertical-align: 0;
}
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; font-weight: 850; font-stretch: 108%; letter-spacing: -.015em; }
.place-head p { color: var(--ink-soft); max-width: 40em; margin: 14px 0 0; }

/* Wide screenshots sit full width under their description. */
.app { display: grid; grid-template-columns: 1fr; gap: 28px; }
.app > .app-text {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 64px);
  grid-template-areas: "name list" "desc list";
}
.app-text .app-name { grid-area: name; }
.app-text > p { grid-area: desc; }
.app-text ul { grid-area: list; align-self: end; }
@media (max-width: 760px) {
  .app > .app-text { grid-template-columns: 1fr; grid-template-areas: "name" "desc" "list"; }
}
/* Phone and kiosk screenshots sit beside their description. */
.app.portrait { grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.app.portrait > .app-text { display: block; }
.app.portrait.flip .app-shot { order: -1; }
@media (max-width: 760px) {
  .app.portrait { grid-template-columns: 1fr; }
  .app.portrait.flip .app-shot { order: 0; }
}
.app + .app { margin-top: clamp(56px, 8vw, 96px); }
.app-name { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
h3 { font-size: 28px; font-weight: 850; font-style: italic; font-stretch: 104%; }
.runs { font: 500 12px/1 var(--mono); color: var(--ink-soft); border: 1px solid var(--line); padding: 6px 8px; border-radius: 6px; }
.app p { margin: 0 0 16px; color: var(--ink-soft); max-width: 34em; }
.app ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.app li { padding-left: 24px; position: relative; }
.app li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 7px;
  background: var(--blue); clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 20px; justify-content: center; align-items: start; }

/* Server handheld screens shown on a Clover Flex photo. */
.flex-shot { filter: drop-shadow(0 18px 22px rgb(13 27 46 / .18)); }

/* QR ordering: the QR sign on the table, the scan, and the menu it opens on the guest's phone. */
.qr-flow {
  display: grid; grid-template-columns: minmax(0, .82fr) auto minmax(0, 1fr);
  align-items: center; gap: clamp(6px, 1.6vw, 14px);
}
.qr-flow .phone { max-width: 260px; justify-self: center; }
/* Padding in % of the sign's own width; cqw on a container's own box would measure the page instead. */
.qr-sign { container-type: inline-size; position: relative; padding-bottom: 7%; }
.qr-card {
  position: relative; z-index: 1; overflow: hidden; text-align: center;
  background: #fff; color: #191512; border: 1px solid #e2e5e9; border-radius: 4cqw;
  box-shadow: 0 1px 2px rgb(0 0 0 / .08), 0 16px 28px -14px rgb(0 0 0 / .35);
}
.qr-brand {
  padding: 6.5cqw 4cqw; background: #6d1915; color: #f4e4c4;
  font: 700 8.6cqw/1 Georgia, "Times New Roman", serif; letter-spacing: .14em; text-transform: uppercase;
}
.qr-code { display: block; width: 72cqw; height: auto; margin: 9cqw auto 6cqw; color: #191512; }
.qr-cta { font: 800 11cqw/1.05 var(--display); font-stretch: 105%; }
.qr-table { margin: 3cqw 0 9cqw; font: 600 7.5cqw/1 var(--mono); letter-spacing: .08em; color: #6d1915; }
/* The acrylic stand the sign sits in. */
.qr-sign::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 12cqw;
  background: linear-gradient(180deg, #d7dde3, #b4bdc6); border-radius: 2cqw 2cqw 3cqw 3cqw;
  clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%);
}
.qr-step { display: grid; justify-items: center; gap: 6px; color: var(--blue); }
.qr-scan {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: var(--blue-ink); box-shadow: var(--shadow);
}
.qr-scan svg { width: 22px; height: 22px; }
.qr-arrow { width: clamp(34px, 6vw, 64px); height: 16px; }
.qr-step-label { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
/* Self-order kiosk: two touchscreens mounted on a wall, the start screen and the menu screen. */
.kiosk-wall {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.6vw, 26px);
  padding: clamp(22px, 4vw, 42px) clamp(18px, 3.4vw, 36px); border-radius: 20px;
  background:
    radial-gradient(120% 90% at 18% 0%, rgb(255 255 255 / .75), transparent 60%),
    linear-gradient(165deg, #e9edf2, #d8dee6);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), inset 0 -1px 0 rgb(13 27 46 / .06);
}
.wall-screen {
  padding: 6px; border-radius: 10px; background: #0b0f17;
  box-shadow: 0 1px 2px rgb(13 27 46 / .25), 0 16px 26px -10px rgb(13 27 46 / .45), 0 30px 50px -28px rgb(13 27 46 / .35);
}
.wall-screen img { border-radius: 4px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .kiosk-wall {
    background: radial-gradient(120% 90% at 18% 0%, rgb(255 255 255 / .06), transparent 60%), linear-gradient(165deg, #1b2537, #121a28);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .06);
  }
}
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 760px) { .stack { grid-template-columns: 1fr; } }

/* Details band */
.details { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(56px, 7vw, 88px); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 36px; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .detail-grid { grid-template-columns: 1fr; } }
.detail { background: var(--surface); padding: 24px 22px; }
.detail .val { font: 600 20px/1.2 var(--mono); color: var(--blue); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.detail h4 { font: 600 16px/1.3 var(--body); margin: 0 0 6px; }
.detail p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Membership */
.members { background: var(--surface); border-block: 1px solid var(--line); padding-block: clamp(56px, 8vw, 104px); }
.members-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .members-grid { grid-template-columns: 1fr; } }
.members-lede { color: var(--ink-soft); max-width: 36em; margin: 16px 0 32px; font-size: 18px; }
.headline-feature {
  background: var(--blue-soft); border-radius: 14px; padding: 22px 24px; margin-bottom: 28px;
}
.headline-feature h3 { font-size: 22px; font-style: normal; margin-bottom: 6px; }
.headline-feature p { margin: 0; color: var(--ink-soft); }
.member-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
@media (max-width: 620px) { .member-list { grid-template-columns: 1fr; } }
.member-list strong { display: block; font: 600 16px/1.35 var(--body); margin-bottom: 4px; }
.member-list span { color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.member-card {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 88px);
  background: var(--kitchen); color: var(--kitchen-text); border-radius: 20px; padding: 24px; box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) { .member-card { position: static; max-width: 460px; } }
.mc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mc-label { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.mc-phone { font: 600 18px/1.2 var(--mono); margin-top: 8px; color: #fff; }
.mc-bal { text-align: right; font: 500 12px/1.2 var(--mono); color: #9fb0c7; text-transform: uppercase; letter-spacing: .06em; }
.mc-bal span { display: block; font: 700 32px/1 var(--display); color: #fff; letter-spacing: 0; text-transform: none; margin-bottom: 4px; }
.mc-wallet {
  display: flex; justify-content: space-between; margin: 20px 0 18px; padding: 12px 14px; border-radius: 10px;
  background: #1a2940; font-size: 15px;
}
.mc-wallet b { font-family: var(--mono); color: #fff; }
.mc-sub { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #9fb0c7; margin-bottom: 6px; }
.mc-ledger { list-style: none; margin: 0; padding: 0; }
.mc-ledger li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px dashed #2a3a54; font-size: 14px; }
.mc-ledger li:first-child { border-top: 0; }
.mc-ledger b { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.mc-ledger .plus { color: #7ddc8a; }
.mc-ledger .minus { color: #ffb4a6; }
.mc-note { margin: 12px 0 0; font-size: 12px; color: #6f809a; }

main { flex: 1; }
/* Footer: a dark band with the brand, the product links and contact details. */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--line); color: #b9c6d8; font-size: 15px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; gap: 40px clamp(24px, 3.4vw, 48px);
  padding-block: clamp(44px, 6vw, 64px) 40px;
}
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: inline-flex; }
.footer-logo img { height: 30px; width: auto; }
.footer-brand p { max-width: 24em; margin: 18px 0 0; }
.footer-title { margin: 0 0 14px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8193ab; }
.footer-col p:not(.footer-title) { margin: 0 0 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: #e3eaf3; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-btn { margin-top: 20px; padding: 11px 18px; font-size: 15px; background: #fff; color: #0d1b2e; }
.footer-bottom {
  padding-block: 18px 22px; border-top: 1px solid rgb(255 255 255 / .1);
  font-size: 13px; color: #8193ab;
}

/* Contact page */
.contact { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-intro h1 { font-size: clamp(36px, 4.4vw, 54px); }
.contact-intro .lede { margin-top: 20px; }
.contact-form {
  display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field > span { font: 600 14px/1.2 var(--body); }
.field em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--paper); color: var(--ink); font: 400 16px/1.45 var(--body);
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent);
}
/* Spam trap: hidden from people, filled in by bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin: 0; font-size: 15px; color: var(--ink-soft); }
.form-status[data-kind="ok"] { color: var(--ok); }
.form-status[data-kind="error"] { color: var(--error); }

/* Services page */
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface); }
.sv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.i { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Hero: copy beside real screenshots of the dashboard and the register. */
.sv-hero { padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); overflow: hidden; }
.sv-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 960px) { .sv-hero-grid { grid-template-columns: minmax(0, 1fr); } }
.sv-hero h1 { font-size: clamp(38px, 4.6vw, 58px); }
.sv-hero h1 em { color: var(--blue); }
.sv-hero .lede { margin-top: 22px; }
.sv-hero-visual { position: relative; padding: 26px 0 21% 9%; }
.sv-shot-dash { margin: 0; }
.sv-shot-pos { position: absolute; left: 0; bottom: 0; width: 50%; padding: 7px; border-radius: 16px; }
.sv-shot-pos img { border-radius: 9px; }
.sv-pill {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  font: 600 14px/1 var(--body); color: var(--ink); white-space: nowrap;
}
.sv-pill .i { width: 17px; height: 17px; color: var(--blue); }
.sv-pill-a { top: 0; right: 4%; }
.sv-pill-b { bottom: 9%; right: 0; }
@media (max-width: 560px) { .sv-pill { font-size: 12px; padding: 8px 11px; } }

/* Three key points. */
.sv-values { background: var(--surface); border-block: 1px solid var(--line); }
.sv-values-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .sv-values-grid { grid-template-columns: minmax(0, 1fr); } }
.sv-value { display: flex; gap: 16px; padding: 32px clamp(16px, 2.4vw, 32px); }
.sv-value + .sv-value { border-left: 1px solid var(--line); }
@media (max-width: 860px) { .sv-value + .sv-value { border-left: 0; border-top: 1px solid var(--line); } .sv-value { padding-inline: 0; } }
.sv-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.sv-icon .i { width: 23px; height: 23px; }
.sv-value h2 { font: 700 17px/1.3 var(--body); letter-spacing: 0; }
.sv-value p { margin: 6px 0 0; font-size: 15px; color: var(--ink-soft); }

/* Customization and dedicated deployment: copy beside a diagram. */
.sv-section { padding-block: clamp(64px, 9vw, 112px); scroll-margin-top: 70px; }
.sv-alt { background: var(--surface); border-block: 1px solid var(--line); }
.sv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.sv-flip .sv-art { order: -1; }
@media (max-width: 900px) { .sv-split { grid-template-columns: minmax(0, 1fr); } .sv-flip .sv-art { order: 0; } }
.sv-label { margin: 0 0 14px; font: 600 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.sv-copy > p:not(.sv-label) { margin: 16px 0 0; max-width: 34em; color: var(--ink-soft); }
.sv-checks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.sv-checks li { display: flex; gap: 14px; }
.sv-check { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--blue); color: var(--blue-ink); stroke-width: 2.6; }
.sv-checks strong { display: block; font: 600 16px/1.35 var(--body); }
.sv-checks span { display: block; margin-top: 2px; font-size: 15px; color: var(--ink-soft); }
.sv-copy .sv-note { margin-top: 26px; padding: 14px 16px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: var(--paper); font-size: 15px; }
.sv-art {
  position: relative; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow);
  background: radial-gradient(color-mix(in srgb, var(--ink-soft) 22%, transparent) 1px, transparent 1.2px) 0 0 / 18px 18px, var(--surface);
}

/* The core system with your own modules around it. */
.sv-modules { aspect-ratio: 5 / 4; }
.sv-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-lines path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 5 6; vector-effect: non-scaling-stroke; opacity: .55; }
.sv-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40%;
  display: grid; justify-items: center; gap: 8px; padding: 18px 14px 14px; border-radius: 16px;
  background: var(--surface); border: 1.5px solid var(--blue); box-shadow: var(--shadow); text-align: center;
}
.sv-core picture { display: flex; justify-content: center; width: 82%; }
.sv-core img { width: 100%; height: auto; }
.sv-core span { font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.sv-mod {
  position: absolute; transform: translate(-50%, -50%); width: 38%;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(13 27 46 / .06), 0 8px 20px -12px rgb(13 27 46 / .3);
  font: 600 clamp(12.5px, 1.25vw, 15px)/1.25 var(--body);
}
.sv-mod .i { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.sv-m1 { left: 25%; top: 17%; }
.sv-m2 { left: 75%; top: 17%; }
.sv-m3 { left: 25%; top: 83%; }
.sv-m4 { left: 75%; top: 83%; }
@media (max-width: 560px) {
  .sv-modules { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; }
  .sv-lines { display: none; }
  .sv-core { position: static; transform: none; width: auto; grid-column: 1 / -1; }
  .sv-core picture { width: 60%; }
  .sv-mod { position: static; transform: none; width: auto; padding: 10px; }
  .sv-mod .i { width: 30px; height: 30px; padding: 6px; }
}

/* Your locations -> your own server and database. */
.sv-stack { padding: clamp(22px, 3vw, 34px); }
.sv-tier-label { margin: 0 0 12px; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.sv-stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.sv-stores span {
  display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border-radius: 14px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); font: 600 14px/1.2 var(--body);
}
.sv-stores .i { width: 30px; height: 30px; color: var(--blue); }
.sv-down { position: relative; height: 46px; }
.sv-down::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 10px; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(var(--blue) 0 6px, transparent 6px 11px); }
.sv-down::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 10px; height: 10px; transform: translateX(-50%) rotate(45deg); border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); }
.sv-private {
  position: relative; padding: 30px 16px 16px; border-radius: 18px;
  border: 1.5px dashed color-mix(in srgb, var(--blue) 60%, transparent); background: color-mix(in srgb, var(--blue-soft) 55%, transparent);
}
.sv-lock {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; white-space: nowrap;
  background: var(--blue); color: var(--blue-ink); font: 600 13px/1 var(--body);
}
.sv-lock .i { width: 15px; height: 15px; }
.sv-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sv-box {
  display: grid; justify-items: center; gap: 6px; padding: 18px 12px; border-radius: 14px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgb(13 27 46 / .06);
}
.sv-box .i { width: 34px; height: 34px; color: var(--blue); }
.sv-box strong { font: 700 16px/1.25 var(--body); }
.sv-box span { font-size: 13.5px; line-height: 1.35; color: var(--ink-soft); }

/* How we work: four steps on a line. */
.sv-process { padding-block: clamp(64px, 9vw, 112px); }
.sv-process h2 { max-width: 16em; }
.sv-steps { position: relative; list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sv-steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: var(--line); }
@media (max-width: 860px) {
  .sv-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .sv-steps::before { top: 24px; bottom: 24px; left: 23px; right: auto; width: 2px; height: auto; }
  .sv-steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .sv-steps li > :not(.sv-step-no) { grid-column: 2; }
  .sv-step-no { grid-row: span 2; }
}
.sv-step-no {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--blue); color: var(--blue); font: 700 15px/1 var(--mono);
}
.sv-steps h3 { margin: 18px 0 6px; font-size: 20px; font-style: normal; }
@media (max-width: 860px) { .sv-steps h3 { margin-top: 10px; } }
.sv-steps p { margin: 0; color: var(--ink-soft); }

/* Questions. */
.sv-faq { padding-block: clamp(56px, 8vw, 96px); background: var(--surface); border-block: 1px solid var(--line); }
.sv-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); }
@media (max-width: 860px) { .sv-faq-grid { grid-template-columns: minmax(0, 1fr); } }
.sv-faq-list details { border-bottom: 1px solid var(--line); }
.sv-faq-list details:first-child { border-top: 1px solid var(--line); }
.sv-faq-list summary {
  position: relative; padding: 20px 44px 20px 0; cursor: pointer; list-style: none;
  font: 600 17px/1.4 var(--body);
}
.sv-faq-list summary::-webkit-details-marker { display: none; }
.sv-faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue); font: 500 20px/1 var(--body);
}
.sv-faq-list details[open] summary::after { content: "−"; }
.sv-faq-list details p { margin: -4px 0 20px; max-width: 40em; color: var(--ink-soft); }

/* Closing call to action: a light card that sends people to the contact page. */
.sv-cta { padding-block: clamp(56px, 8vw, 96px); }
.sv-cta-box {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 28px;
  padding: clamp(24px, 3.4vw, 40px); border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue); box-shadow: var(--shadow);
}
.sv-cta-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); }
.sv-cta-icon .i { width: 28px; height: 28px; }
.sv-cta-text h2 { font-size: clamp(24px, 2.6vw, 32px); }
.sv-cta-text p { margin: 8px 0 0; color: var(--ink-soft); }
.sv-cta-btn .i { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .15s ease; }
.sv-cta-btn:hover .i { transform: translateX(3px); }
@media (max-width: 760px) {
  .sv-cta-box { grid-template-columns: minmax(0, 1fr); }
  .sv-cta-btn { justify-self: start; }
}

/* Clover Payments page */
.pay-note {
  display: inline-flex; margin: 22px 0 0; padding: 8px 12px; border-radius: 8px;
  background: var(--blue-soft); color: var(--ink-soft); font-size: 14px;
}
.pay-hero-visual { position: relative; padding: 4% 0; }
.pay-hero-visual::before {
  content: ""; position: absolute; inset: 8% 4% 0; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 14%, transparent), transparent);
}
.pay-hero-visual img { position: relative; width: 100%; height: auto; filter: drop-shadow(0 24px 28px rgb(13 27 46 / .18)); }
.pay-intro { margin: 16px 0 0; max-width: 36em; color: var(--ink-soft); }
.pay-devices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
@media (max-width: 1000px) { .pay-devices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pay-devices { grid-template-columns: minmax(0, 1fr); } }
.pay-device {
  display: flex; flex-direction: column; padding: 18px 18px 20px; border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.pay-device-img {
  display: grid; place-items: center; height: 190px; margin-bottom: 18px; padding: 18px; border-radius: 12px;
  background: radial-gradient(90% 80% at 50% 40%, #ffffff, #e9edf2);
}
.pay-device-img img { max-height: 154px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 10px 12px rgb(13 27 46 / .15)); }
.pay-device h3 { font-size: 19px; font-style: normal; }
.pay-device p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); }
.pay-device .pay-fit { margin-top: auto; padding-top: 14px; font: 600 12.5px/1.4 var(--mono); letter-spacing: .02em; color: var(--blue); }
.pay-legal { margin: 20px 0 0; font-size: 12px; color: var(--ink-soft); text-align: center; }
.pay-pricing .sv-actions { margin-top: 26px; }
.pay-price-card {
  display: grid; padding: 8px 24px; border-radius: 18px;
  background: var(--paper); border: 1px solid var(--line);
}
.pay-price-row { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0; }
.pay-price-row + .pay-price-row { border-top: 1px solid var(--line); }
.pay-price-row h3 { font: 700 17px/1.3 var(--body); font-style: normal; letter-spacing: 0; }
.pay-price-row p { margin: 4px 0 0; font-size: 15px; color: var(--ink-soft); }

/* Payment provider heroes: two devices side by side on one baseline, never overlapping. */
.pair-visual { display: grid; align-items: end; gap: 6%; padding: 4% 2% 6%; }
.pair-visual img { width: 100%; height: auto; filter: drop-shadow(0 22px 24px rgb(13 27 46 / .18)); }
.gp-pair { grid-template-columns: 1fr 1fr; }
.nv-pair { grid-template-columns: 1.65fr 1fr; }

/* Three devices side by side. */
.pay-devices.pay-devices-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .pay-devices.pay-devices-three { grid-template-columns: minmax(0, 1fr); } }
.pay-devices-three .pay-device-img { height: 220px; }
.pay-devices-three .pay-device-img img { max-height: 184px; }
.pay-device-icon { color: var(--blue); }
.pay-device-icon .i { width: 92px; height: 92px; stroke-width: 1.2; }

/* Links to the other payment providers. */
.pay-others { padding-block: clamp(56px, 8vw, 96px) 0; }
.pay-other-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; max-width: 880px; }
@media (max-width: 620px) { .pay-other-grid { grid-template-columns: minmax(0, 1fr); } }
.pay-other {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.pay-other:hover { border-color: var(--blue); transform: translateY(-1px); }
.pay-other-arrow { width: 20px; height: 20px; color: var(--blue); }

/* Payment provider pages take the provider's own colors (from their websites) and logo.
   The FortiPOS header and footer sit outside <main> and keep the site colors. */
main.brand { background: var(--paper); color: var(--ink); }
main.brand-clover { --blue: #228800; --blue-ink: #ffffff; --blue-soft: #e5f2de; --ink: #004400; --paper: #f4f8f1; --line: #d8e4d2; --ink-soft: #4c5a4f; }
main.brand-gp { --blue: #1c6bff; --blue-ink: #ffffff; --blue-soft: #e4ecff; --ink: #003c71; --paper: #f3f6fb; }
main.brand-nuvei { --blue: #0c98d4; --blue-ink: #ffffff; --blue-soft: #e0f2fa; --ink: #160850; --paper: #f6f5fa; --line: #e0deea; --ink-soft: #4f4b66; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) main.brand-clover { --blue: #4cbf35; --blue-ink: #062000; --blue-soft: #14301a; --ink: #e6f0e4; --paper: #0b1510; --surface: #12211a; --line: #233a2b; --ink-soft: #a9b8ab; }
  :root:not([data-theme="light"]) main.brand-gp { --blue: #5b93ff; --blue-ink: #04122e; --blue-soft: #13254a; --ink: #e6ecf5; --paper: #0b1422; }
  :root:not([data-theme="light"]) main.brand-nuvei { --blue: #38b6ea; --blue-ink: #03202d; --blue-soft: #102a3a; --ink: #ecebf5; --paper: #0d0b1c; --surface: #17142c; --line: #2b2748; --ink-soft: #b0abc8; }
}
:root[data-theme="dark"] main.brand-clover { --blue: #4cbf35; --blue-ink: #062000; --blue-soft: #14301a; --ink: #e6f0e4; --paper: #0b1510; --surface: #12211a; --line: #233a2b; --ink-soft: #a9b8ab; }
:root[data-theme="dark"] main.brand-gp { --blue: #5b93ff; --blue-ink: #04122e; --blue-soft: #13254a; --ink: #e6ecf5; --paper: #0b1422; }
:root[data-theme="dark"] main.brand-nuvei { --blue: #38b6ea; --blue-ink: #03202d; --blue-soft: #102a3a; --ink: #ecebf5; --paper: #0d0b1c; --surface: #17142c; --line: #2b2748; --ink-soft: #b0abc8; }
/* Button shapes as on each provider's site. */
main.brand-gp .btn, main.brand-nuvei .btn { border-radius: 999px; }
main.brand-clover .btn { border-radius: 8px; }
/* Nuvei's bright blue is too light for small text on white; labels use a deeper shade of it. */
main.brand-nuvei .eyebrow, main.brand-nuvei .sv-label, main.brand-nuvei .pay-fit { color: #0a6f9c; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) main.brand-nuvei .eyebrow, :root:not([data-theme="light"]) main.brand-nuvei .sv-label,
  :root:not([data-theme="light"]) main.brand-nuvei .pay-fit { color: #38b6ea; }
}
:root[data-theme="dark"] main.brand-nuvei .eyebrow, :root[data-theme="dark"] main.brand-nuvei .sv-label,
:root[data-theme="dark"] main.brand-nuvei .pay-fit { color: #38b6ea; }

/* The provider's logo completes the headline: "Take payments with [logo]". */
/* Each logo's lowercase letters match the headline's lowercase height (.53em in Archivo). Share of each
   logo's height taken by its lowercase letters: Clover .56, Global Payments .467, Nuvei .653. */
.h1-brand { display: block; margin-top: .36em; line-height: 0; }
.h1-logo { height: .95em; width: auto; }
.brand-gp .h1-logo { height: 1.135em; }
.brand-nuvei .h1-logo { height: .81em; }
/* The Nuvei wordmark has no descenders; padding (margins would merge with the paragraph's) keeps the gap even. */
.brand-nuvei .h1-brand { padding-bottom: .22em; }

/* Comparison cards show each provider's logo and use its color. */
.pay-other { grid-template-columns: 150px 1fr auto; }
.pay-other-logo { height: 24px; width: auto; }
.pay-other.to-gp .pay-other-logo { height: 20px; }
.pay-other.to-nuvei .pay-other-logo { height: 21px; }
@media (max-width: 420px) { .pay-other { grid-template-columns: 1fr auto; } .pay-other .pm-desc { grid-column: 1; } .pay-other-arrow { grid-row: 1 / span 2; grid-column: 2; } }
.pay-other.to-clover { --blue: #228800; }
.pay-other.to-gp { --blue: #1c6bff; }
.pay-other.to-nuvei { --blue: #0c98d4; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pay-other.to-clover { --blue: #4cbf35; }
  :root:not([data-theme="light"]) .pay-other.to-gp { --blue: #5b93ff; }
  :root:not([data-theme="light"]) .pay-other.to-nuvei { --blue: #38b6ea; }
  :root:not([data-theme="light"]) .h1-logo, :root:not([data-theme="light"]) .pay-other-logo { filter: brightness(0) invert(1); }
}
:root[data-theme="dark"] .pay-other.to-clover { --blue: #4cbf35; }
:root[data-theme="dark"] .pay-other.to-gp { --blue: #5b93ff; }
:root[data-theme="dark"] .pay-other.to-nuvei { --blue: #38b6ea; }
:root[data-theme="dark"] .h1-logo, :root[data-theme="dark"] .pay-other-logo { filter: brightness(0) invert(1); }

/* Footer: copyright with the legal links beside it. */
.footer-bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { color: #b9c6d8; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* Kitchen display for Clover page. */
.kds-shot { margin: 0 auto; max-width: 1100px; }
.kds-shot-below { margin-top: clamp(32px, 5vw, 52px); }
.kds-actions { justify-content: center; }
.hero-copy .pay-note { margin-top: 20px; }
.kds-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px clamp(24px, 4vw, 48px); margin-top: 36px; }
@media (max-width: 900px) { .kds-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kds-checks { grid-template-columns: minmax(0, 1fr); } }
/* Real screenshots from the Clover device, shown as they are. */
.guide-shot { margin: 0; }
.guide-shot img { width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.guide-shot figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-soft); text-align: center; }
.kds-phone-shot { justify-self: center; width: 100%; max-width: 400px; padding: clamp(20px, 3vw, 32px) clamp(28px, 6vw, 64px) 18px; }
/* Setup guide: numbered steps, some with the screenshot for that step. */
.guide { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.guide-step {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 22px; align-items: start;
  padding: clamp(18px, 2.6vw, 28px); border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.guide-step.has-shot { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 200px); }
.guide-text h3 { margin: 10px 0 10px; font-size: 21px; font-style: normal; }
.guide-text p { margin: 0 0 10px; max-width: 42em; color: var(--ink-soft); }
.guide-text p:last-child { margin-bottom: 0; }
.guide-text strong { color: var(--ink); }
@media (max-width: 820px) {
  .guide-step.has-shot { grid-template-columns: 48px minmax(0, 1fr); }
  .guide-step .guide-shot { grid-column: 2; max-width: 240px; margin-top: 8px; }
}

/* Privacy policy and terms pages. */
.legal { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 104px); }
.legal-doc {
  max-width: 860px; margin: 0 auto; padding: clamp(22px, 4.4vw, 52px); border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.legal-doc h1 { font-size: clamp(30px, 3.6vw, 42px); }
.legal-date { margin: 14px 0 26px; font-size: 14px; color: var(--ink-soft); }
.legal-doc h2 { margin: 34px 0 12px; font: 700 20px/1.3 var(--body); letter-spacing: 0; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }

/* Customer screen section on the Clover kitchen display page. */
.kds-subhead { margin: clamp(44px, 6vw, 68px) 0 0; font-size: 28px; font-style: normal; scroll-margin-top: 90px; }
.kds-subhead + .guide { margin-top: 22px; }
.kds-table { width: 100%; max-width: 460px; margin: 4px 0 14px; border-collapse: collapse; font-size: 15px; }
.kds-table th, .kds-table td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.kds-table th { background: var(--paper); font: 600 13px/1.3 var(--body); color: var(--ink-soft); }
.kds-table td { color: var(--ink); }
.guide-step.has-wide-shot .guide-shot-wide { grid-column: 2; max-width: 760px; margin-top: 10px; }
.guide-shot-wide img { border-radius: 10px; }
.guide-shot-wide figcaption { text-align: left; }
.kds-note { margin: 26px 0 0; max-width: 60em; padding: 14px 16px; border-left: 3px solid var(--amber); border-radius: 0 10px 10px 0; background: var(--surface); font-size: 15px; color: var(--ink-soft); }
/* One real order shown step by step: both kitchen screens beside the customer screen. */
.kds-story { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.kds-story-step {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.45fr); gap: 16px clamp(14px, 2.4vw, 28px); align-items: start;
  padding: clamp(18px, 2.6vw, 28px); border-radius: 18px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.kds-story-text { grid-column: 1 / -1; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 22px; align-items: start; }
.kds-story-shot { margin: 0; }
.kds-story-shot img { width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.kds-story-shot figcaption { margin-top: 8px; font-size: 13px; color: var(--ink-soft); text-align: center; }
@media (max-width: 760px) {
  .kds-story-step { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kds-story-customer { grid-column: 1 / -1; }
}
.kds-table-wide { max-width: 100%; margin-top: 22px; }
.kds-table-wide td:first-child { white-space: nowrap; font-weight: 600; }
@media (max-width: 520px) { .kds-table-wide td:first-child { white-space: normal; } }

/* Two kitchen screen layouts side by side (Classic, Tiled) */
.kds-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); align-items: start; }
@media (max-width: 760px) { .kds-modes { grid-template-columns: minmax(0, 1fr); } }
.kds-mode { margin: 0; }
.kds-mode figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-soft); text-align: center; }
.kds-mode figcaption strong { color: var(--ink); font-weight: 600; }
/* Side by side, the two pictures use more width than the text column (up to
   1480px, 24px from the window edges) so each screen is larger. */
@media (min-width: 761px) {
  .kds-modes {
    --kds-modes-w: min(1480px, calc(100vw - 48px));
    width: var(--kds-modes-w); max-width: none;
    margin-inline: calc((100% - var(--kds-modes-w)) / 2);
    gap: clamp(14px, 1.6vw, 22px);
  }
}
