/* CheckoutOS by CommercePilot — marketing site.
   Layout from the Stitch "CheckoutOS - Modern Homepage Redesign" (2026-11-23), rebuilt as plain CSS:
   no Tailwind runtime, no icon font, and the Material lavender surfaces replaced with cool
   blue-greys taken from the app icon (blue #0B6FD0, teal #14B8A6, bag navy #1B2B45). No purple. */

:root {
  --paper: #F3F7FB;
  --bg: #F7FAFC;
  --white: #FFFFFF;
  --tint: #EEF4F9;
  --tint-2: #E4EDF6;
  --tint-3: #D8E5F2;
  --line: #D5DFEA;
  --line-2: #E6EDF4;

  --ink: #131B2E;
  --ink-2: #3E4A5C;
  --ink-3: #56657A;

  --blue: #0B6FD0;
  --blue-ink: #0057A6;
  --blue-deep: #004689;
  --blue-soft: #D5E3FF;
  --teal: #14B8A6;
  --teal-ink: #006B5F;
  --mint: #6DF5E1;
  --mint-ink: #00201C;
  --navy: #1B2B45;
  --navy-2: #131B2E;

  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow: 0 1px 2px rgba(19, 27, 46, .05), 0 8px 24px rgba(19, 27, 46, .06);
  --shadow-lg: 0 2px 4px rgba(19, 27, 46, .04), 0 24px 48px rgba(11, 111, 208, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[id] { scroll-margin-top: 88px; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; }
p { margin: 0; }
code { font: 500 .92em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--tint-2); padding: 1px 5px; border-radius: 4px; }
strong { font-weight: 600; color: var(--ink); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 900px; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: var(--r-sm); box-shadow: var(--shadow); }
.ico { flex-shrink: 0; }
.muted { color: var(--ink-3); }
.teal { color: var(--teal-ink); }
.teal-ink { color: var(--teal-ink); }
.strong { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: var(--r);
  font: 600 16px/1 var(--body); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 6px 16px rgba(11, 111, 208, .25); }
.btn-primary:hover { background: var(--blue-ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(19, 27, 46, .06); }
.btn-white:hover { color: var(--ink); border-color: #B9C7D6; }
.btn-ghost { background: rgba(255, 255, 255, .14); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.head-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { border-radius: 9px; }
.logo-name { font: 700 20px/1 var(--display); letter-spacing: -.01em; color: var(--ink); }
.by { font: 600 12px/1 var(--body); color: var(--blue-deep); background: var(--blue-soft); padding: 5px 8px; border-radius: 6px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--ink-2); text-decoration: none; font: 500 15px/1 var(--body); padding: 10px 10px; border-radius: 8px; }
.nav a:hover { color: var(--blue-ink); background: var(--tint); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(55% 60% at 88% 8%, rgba(20, 184, 166, .13), transparent 70%),
    radial-gradient(45% 55% at 0% 0%, rgba(11, 111, 208, .08), transparent 70%),
    var(--paper);
  border-bottom: 1px solid var(--line-2);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px;
  background: rgba(255, 255, 255, .75); border: 1px solid var(--line-2);
  padding: 8px 14px; border-radius: 999px; font: 600 13px/1.2 var(--body); color: var(--ink);
}
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.dot-blue { background: var(--blue); }
.dot-teal { background: var(--teal); }
.hero h1 { margin-top: 26px; font-size: clamp(40px, 5.4vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; max-width: 13ch; }
.lede { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.hero-note { margin-top: 22px; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-3); max-width: 34em; }
.hero-note .ico { color: var(--teal-ink); margin-top: 2px; }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 34em; }
.facts li { background: rgba(255, 255, 255, .7); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; }
.facts strong { display: block; font: 700 18px/1.2 var(--display); color: var(--blue-ink); }
.facts span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }

/* Order summary example */
.demo { margin: 0; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 22px; background: var(--tint); border-bottom: 1px solid var(--line-2); font: 600 14px/1 var(--body); color: var(--ink-2); }
.tag { font: 700 12px/1 var(--body); color: var(--mint-ink); background: var(--mint); padding: 5px 9px; border-radius: 6px; }
.tag-soft { background: var(--blue-soft); color: var(--blue-deep); }
.demo-body { padding: 20px 26px 6px; }
.block-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); }
.block-label > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.block-label strong { color: var(--ink); }
.pct { font: 800 20px/1 var(--display); color: var(--teal-ink); }
.ship { margin-top: 10px; background: var(--tint); border-radius: var(--r); padding: 14px 16px; }
.ship-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink); }
.ship-bar { margin-top: 10px; height: 8px; border-radius: 99px; background: var(--tint-3); overflow: hidden; }
.ship-bar i { display: block; width: 86%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.line { display: flex; align-items: center; gap: 14px; padding: 20px 0; }
.thumb { position: relative; width: 48px; height: 48px; border-radius: var(--r); background: var(--tint-2); display: grid; place-items: center; flex-shrink: 0; }
.thumb b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--navy-2); color: var(--white); font: 700 11px/20px var(--body); text-align: center; }
.thumb-sm { width: 40px; height: 40px; background: var(--white); border: 1px solid var(--line-2); }
.line-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--ink-3); }
.line-name strong { font-size: 15px; color: var(--ink); }
.line-price { font-weight: 600; }
.upsell { background: var(--tint); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 14px 16px; }
.upsell-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.add { background: var(--blue-ink); color: var(--white); font: 600 13px/1 var(--body); padding: 9px 16px; border-radius: 8px; }
.totals { margin-top: 18px; display: grid; gap: 8px; font-size: 14px; }
.totals > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.totals > div:first-child { color: var(--ink-2); padding: 0 2px 4px; }
.totals > div > span:last-child, .line-price { white-space: nowrap; }
.chip-row { background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 10px; font-size: 13px; }
.chip-row strong { font-weight: 600; }
.chip { display: inline-block; font: 700 12px/1 var(--body); padding: 5px 7px; border-radius: 5px; margin-right: 4px; }
.chip-mint { background: var(--mint); color: var(--mint-ink); }
.chip-grey { background: var(--tint-3); color: var(--navy-2); }
.grand { padding: 14px 2px 18px; border-top: 1px solid var(--line-2); margin-top: 8px; }
.grand span:first-child { font: 700 20px/1 var(--display); }
.grand span:last-child { font: 800 26px/1 var(--display); color: var(--blue-ink); }
.demo-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 26px 24px; padding: 12px 14px; background: var(--tint-2); border-radius: var(--r); font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.demo-note .ico { color: var(--blue-ink); margin-top: 1px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tint { background: var(--tint); }
.section.tint-2 { background: var(--tint-2); }
.section.on-white { background: var(--white); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--ink-2); }

/* Journey stages */
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stage { background: var(--tint); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 24px 22px; display: flex; flex-direction: column; gap: 12px; }
.stage-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.num { width: 38px; height: 38px; border-radius: var(--r); display: grid; place-items: center; color: var(--white); font: 800 18px/1 var(--display); }
.num-1 { background: var(--blue-ink); }
.num-2 { background: var(--teal-ink); }
.num-3 { background: #00606E; }
.num-4 { background: var(--navy); }
.plan { font: 700 12px/1.2 var(--body); background: var(--mint); color: var(--mint-ink); padding: 5px 9px; border-radius: 99px; text-align: center; }
.plan-plus { background: var(--blue-soft); color: var(--blue-deep); }
.stage h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.stage p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.stage .built { margin-top: auto; padding-top: 14px; font: 600 13px/1.2 var(--body); color: var(--blue-ink); }
.plus-note { margin-top: 28px; display: flex; align-items: center; gap: 18px; background: var(--tint-2); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 20px 24px; }
.plus-note p { flex: 1; color: var(--ink); font-size: 16px; }
.plus-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--blue-ink); display: grid; place-items: center; flex-shrink: 0; }

/* Admin captures */
.shots { display: grid; gap: 28px; }
.shot { margin: 0; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.shot img { width: 100%; border-bottom: 1px solid var(--line-2); }
.shot figcaption { padding: 14px 22px; background: var(--tint-2); font-size: 14px; color: var(--ink-2); }

/* How it runs */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how-card { background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 32px 32px 0; display: flex; flex-direction: column; overflow: hidden; }
.sq { width: 46px; height: 46px; border-radius: var(--r); display: grid; place-items: center; color: var(--white); }
.sq-blue { background: var(--blue-ink); }
.sq-teal { background: var(--teal-ink); }
.how-card h3 { margin-top: 22px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.how-card > p:not(.how-foot) { margin-top: 10px; margin-bottom: 24px; color: var(--ink-2); font-size: 15px; }
.how-foot { margin: auto -32px 0; padding: 14px 32px; background: var(--tint); display: flex; align-items: center; gap: 8px; font: 600 13px/1.3 var(--body); color: var(--blue-ink); }
.how-foot.teal-ink { color: var(--teal-ink); }
.strip { margin-top: 24px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px 26px 22px 46px; position: relative; font-size: 17px; color: var(--ink-2); }
.strip::before { content: ""; position: absolute; left: 24px; top: 18px; bottom: 18px; width: 6px; border-radius: 6px; background: var(--teal-ink); }

/* Pricing */
.price-card { max-width: 900px; margin: 0 auto; background: var(--white); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { background: var(--navy-2); color: var(--white); padding: 22px 22px; text-align: center; vertical-align: middle; font-weight: 400; }
.price-table thead th:first-child { text-align: left; }
.pt-title { display: block; font: 700 18px/1.25 var(--display); color: var(--white); }
.pt-sub { display: block; margin-top: 4px; font-size: 12px; color: #C9D4E2; }
.pt-plan { display: block; font: 700 16px/1.2 var(--display); color: var(--white); }
.pt-unl { color: var(--mint); }
.pt-price { display: block; margin-top: 4px; font: 800 26px/1.1 var(--display); color: var(--white); }
.price-table tbody th, .price-table tbody td { padding: 15px 22px; border-top: 1px solid var(--line-2); font-size: 15px; }
.price-table tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.price-table tbody td { text-align: center; font-weight: 600; color: var(--ink); width: 24%; }
.price-table tbody tr:nth-child(even) { background: var(--bg); }
.price-table td.yes { font-family: var(--display); font-weight: 700; color: var(--blue-ink); }
.price-table td.inc { color: var(--teal-ink); }
.price-table td.no { color: var(--ink-3); font-weight: 500; }
.price-card-foot { padding: 16px 22px; background: var(--tint-2); font-size: 14px; color: var(--ink-2); }
.price-notes { max-width: 900px; margin: 24px auto 0; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }

/* FAQ (shared with support.html) */
.faq { display: grid; gap: 14px; }
.qa { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-lg); box-shadow: 0 1px 2px rgba(19, 27, 46, .04); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font: 700 18px/1.35 var(--display); color: var(--ink); border-radius: var(--r-lg);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-right: 4px;
  border-right: 2.5px solid var(--blue-ink); border-bottom: 2.5px solid var(--blue-ink);
  transform: rotate(45deg) translateY(-3px); transition: transform .15s;
}
.qa[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }
.qa > p, .qa > div { padding: 0 24px 22px; color: var(--ink-2); }

/* Closing band */
.cta-wrap { padding-top: 88px; background: var(--bg); }
.cta {
  display: flex; align-items: center; gap: 32px; padding: 48px 56px; border-radius: 28px;
  background: linear-gradient(120deg, #0B6FD0 0%, #0057A6 45%, #0A6B70 100%);
  box-shadow: 0 30px 60px rgba(0, 87, 166, .22); color: var(--white);
}
.cta img { border-radius: 20px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); flex-shrink: 0; }
.cta-copy { flex: 1; }
.cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
.cta p { margin-top: 10px; color: #E3EDF8; font-size: 16px; max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn-white { border-color: transparent; color: var(--blue-ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--bg); padding: 72px 0 36px; border-top: 1px solid var(--line-2); }
.cta-wrap + .site-foot, main + .site-foot { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 16px; max-width: 26em; color: var(--ink-2); font-size: 15px; }
.site-foot h2 { font: 700 15px/1.3 var(--body); color: var(--ink); }
.site-foot ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.site-foot ul a, .foot-links a { color: var(--ink-2); text-decoration: none; font-size: 14px; }
.site-foot ul a:hover, .foot-links a:hover { color: var(--blue-ink); text-decoration: underline; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; color: var(--ink-3); }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Legal and support pages ---------- */
.prose-head { background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 64px 0 44px; }
.prose-head h1 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.prose-head .meta { margin-top: 12px; color: var(--ink-3); font-size: 14px; }
.prose-head .lede { margin-top: 16px; }
.prose { max-width: 760px; padding: 48px 0 88px; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 44px; font-size: 24px; font-weight: 700; letter-spacing: -.015em; }
.prose h3 { margin-top: 28px; font-size: 18px; font-weight: 700; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose .callout { background: var(--tint); border-left: 4px solid var(--teal-ink); border-radius: var(--r-sm); padding: 16px 18px; color: var(--ink); }
.tablewrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.prose thead th { background: var(--tint); color: var(--ink); font-weight: 600; }
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact > div { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; }
.contact h2 { font-size: 18px; font-weight: 700; }
.contact p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hide-md { display: none; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 44px; padding-top: 48px; padding-bottom: 64px; }
  .hero h1 { max-width: none; }
  .how { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .head-in { gap: 12px; height: 64px; padding: 0 16px; }
  .wrap { padding: 0 18px; }
  .by { display: none; }
  .nav { gap: 0; }
  .nav a { padding: 10px 8px; font-size: 14px; }
  .section { padding: 64px 0; }
  .stages { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .plus-note { flex-direction: column; align-items: flex-start; }
  .demo-body { padding: 16px 16px 4px; }
  .demo-note { margin: 0 16px 18px; }
  .ship-row { flex-direction: column; }
  .chip-row { align-items: flex-start; }
  .price-table thead th, .price-table tbody th, .price-table tbody td { padding: 12px 10px; font-size: 14px; }
  .pt-title { font-size: 15px; }
  .pt-price { font-size: 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .how-card { padding: 26px 22px 0; }
  .how-foot { margin: auto -22px 0; padding: 14px 22px; }
}
