/* CStoreLedger marketing site. Tokens come from DESIGN.md. */
:root {
  --navy: #031d34;
  --charcoal: #343d42;
  --blue: #2769c8;
  --blue-press: #1e54a3;
  --ring-1: #365bde;
  --ring-2: #2c8bde;
  --ring-3: #29d8f4;
  --white: #fff;
  --mist: #f3f6fa;
  --hair: #dde3ea;
  --muted: #5b6770;
  --green: #1f8a4c;
  --red: #c62828;
  --tint: rgba(39, 105, 200, 0.08);
  --shadow: 0 10px 40px rgba(3, 29, 52, 0.07);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
}
@media (min-width: 700px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font: 400 17px/1.6 var(--font);
  -webkit-text-size-adjust: 100%;
}
@media (min-width: 900px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-press); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { color: var(--navy); font-weight: 800; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 6vw + 0.5rem, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.5rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.lead { font-size: 1.15em; color: var(--charcoal); }
.small { font-size: 15px; color: var(--muted); }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }
.center p { margin-inline: auto; }
section { padding-block: 44px; }
@media (min-width: 900px) { section { padding-block: 64px; } }
/* Room above the footer so the Sophie chat icon (fixed, bottom right) does not sit on the last section. */
main > section:last-of-type { padding-bottom: 96px; }
.alt { background: var(--mist); }
.section-head { margin-bottom: 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 12px;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  background: var(--blue); color: #fff; border: 1.5px solid var(--blue);
  transition: background 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--blue-press); border-color: var(--blue-press); color: #fff; box-shadow: 0 8px 24px rgba(39, 105, 200, 0.28); }
.btn.secondary { background: #fff; color: var(--blue); }
.btn.secondary:hover { background: var(--tint); color: var(--blue-press); box-shadow: none; }
.btn.on-navy { background: #fff; border-color: #fff; color: var(--navy); }
.btn.on-navy:hover { background: var(--mist); border-color: var(--mist); color: var(--navy); box-shadow: none; }
.btn.small-btn { min-height: 44px; padding: 8px 18px; }
.cta-note { margin: 10px 0 0; font-size: 15px; color: var(--muted); }
.on-navy-note { color: #b8c6d4; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: var(--hair); }
.nav { display: flex; align-items: center; gap: 16px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; margin-right: auto; }
.brand { min-height: 44px; }
.brand img { width: 48px; height: 48px; }
.brand .a { color: var(--navy); }
.brand .b { color: var(--blue); margin-left: -2px; }
.nav-links { display: none; gap: 4px; align-items: center; }
a.nav-x{}
.nav-links a:not(.btn) { white-space: nowrap; color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: 16px; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a:not(.btn):hover { color: var(--blue); background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -3px 0 var(--ring-2); border-radius: 0; }
.nav-cta { display: none; }
.menu-btn { width: 44px; height: 44px; border: 1.5px solid var(--hair); background: #fff; border-radius: 10px; cursor: pointer; display: inline-grid; place-items: center; color: var(--navy); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.mobile-sheet { display: none; border-top: 1px solid var(--hair); background: #fff; padding: 8px var(--gutter) 20px; }
.mobile-sheet.open { display: block; }
.mobile-sheet a:not(.btn) { display: flex; align-items: center; min-height: 52px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--hair); }
.mobile-sheet .btn { width: 100%; margin-top: 16px; }
.btn { white-space: nowrap; }
.start-sm { display: inline-flex; }
@media (max-width: 430px) { .start-sm { display: none; } }
@media (min-width: 1180px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn, .mobile-sheet, .start-sm { display: none !important; }
}

/* Hero: navy panel beside a photo, stacked on phones and iPad portrait */
.hero { background: var(--navy); color: #fff; overflow: hidden; padding-block: 0; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-photo { order: -1; position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 45%; }
.hero-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, var(--navy), transparent); }
.hero-text { padding: 4px var(--gutter) 40px; }
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero .eyebrow { color: #8fc0ff; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .glow { background: linear-gradient(100deg, #7fb8ff, var(--ring-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #d9e3ed; margin-bottom: 28px; }
.hero-note { margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.18); font-size: 15px; color: #b8c6d4; max-width: 52ch; }
@media (min-width: 700px) { .hero-photo img { aspect-ratio: 21 / 9; } .hero-text { padding-bottom: 56px; } .hero-inner { max-width: 680px; } }
@media (min-width: 1000px) {
  .hero-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); min-height: 500px; }
  .hero-photo { order: 2; }
  .hero-photo img { height: 100%; aspect-ratio: auto; object-position: 35% 50%; }
  .hero-photo::after { inset: 0 auto 0 0; width: 14%; height: auto; background: linear-gradient(90deg, var(--navy), transparent); }
  .hero-text { display: flex; align-items: center; padding: 48px 24px 48px var(--gutter); }
  .hero-inner { margin: 0 0 0 auto; max-width: 560px; width: 100%; }
}
@media (min-width: 1300px) { .hero-text { padding-left: calc((100vw - 1200px) / 2 + var(--gutter)); } .hero-inner { margin: 0; } }

/* Device frame + demo close */
.device { background: #fff; border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; }
.device-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.device-title { font-weight: 700; color: var(--navy); font-size: 1rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill svg { width: 16px; height: 16px; flex: none; }
.pill.ok {background: #e4f4ea; color: var(--green); }
.pill.blue { background: var(--tint); color: var(--blue); }
.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.total { background: var(--mist); border-radius: 12px; padding: 10px 12px; }
.total small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.total strong { font-size: 1.05rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.total strong.good { color: var(--green); }
table.mini { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 420px) { table.mini { font-size: 12.5px; } table.mini th, table.mini td { padding: 8px 3px !important; } .device { padding: 14px; } .totals { gap: 6px; } .total { padding: 8px; } .total strong { font-size: 0.95rem; } }
table.mini th, table.mini td { padding: 9px 6px; text-align: right; border-top: 1px solid var(--hair); }
table.mini th:first-child, table.mini td:first-child { text-align: left; }
table.mini thead th { border-top: 0; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
table.mini td:last-child { color: var(--green); font-weight: 600; }
.device-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair); display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.device-foot svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.demo-label { text-align: center; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Cards and grids */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 8px; }
.card p { margin: 0; font-size: 16px; color: var(--charcoal); }
.icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--blue); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; }
.icon.red { background: rgba(198, 40, 40, 0.08); color: var(--red); }
.pain-list { display: grid; gap: 14px; counter-reset: pain; }
@media (min-width: 800px) { .pain-list { grid-template-columns: repeat(2, 1fr); } }
.pain { display: flex; gap: 16px; background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 20px; }
.pain .icon { flex: none; }
.pain h3 { margin: 0 0 4px; font-size: 1.1rem; }
.pain p { margin: 0; font-size: 16px; }

.steps { display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 28px 24px; box-shadow: var(--shadow); }
.step .n { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step p { margin: 8px 0 0; font-size: 16px; }

.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.checks svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding: 0; list-style: none; }
.chips li { background: var(--mist); border-radius: 8px; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--navy); }

.tracker-card .icon { margin-bottom: 4px; }
.tracker-card h3 { font-size: 1.1rem; margin-top: 12px; }
.tracker-card p { font-size: 15px; }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--hair); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
table.compare, table.price { width: 100%; border-collapse: collapse; min-width: 520px; }
table.compare th, table.compare td, table.price th, table.price td { padding: 16px 18px; text-align: left; border-top: 1px solid var(--hair); vertical-align: top; }
table.compare thead th, table.price thead th { background: var(--mist); border-top: 0; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
table.compare td.us { background: rgba(39, 105, 200, 0.05); font-weight: 600; color: var(--navy); }
table.compare td.them { color: var(--muted); }
table.compare small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.yes { color: var(--green); font-weight: 700; }
.no { color: var(--muted); }
.price td.amt { font-size: 1.5rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price td.amt small { font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.price tr.hl td { background: rgba(39, 105, 200, 0.05); }
.price tr.hl { box-shadow: inset 4px 0 0 var(--blue); }
.tag { display: inline-block; background: var(--blue); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 2px 10px; margin-left: 8px; vertical-align: middle; letter-spacing: 0.02em; }

/* Founder */
.founder { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .founder { grid-template-columns: 1fr 1fr; gap: 56px; } }
.founder blockquote { margin: 0; font-size: clamp(1.3rem, 2.4vw + 0.4rem, 1.8rem); line-height: 1.35; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.founder cite { display: block; margin-top: 18px; font-style: normal; font-size: 1rem; font-weight: 600; color: var(--muted); }
.founder img { border-radius: 20px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 55% 50%; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--hair); border-radius: 14px; }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 20px 18px; }
.faq .ans p { margin: 0; font-size: 16px; }

/* Navy band + footer */
.band { background: var(--navy); color: #fff; position: relative; }
.band::before, .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--ring-1), var(--ring-2), var(--ring-3)); }
.band h2 { color: #fff; }
.band p { color: #d2dce6; margin-inline: auto; }
.site-footer { background: var(--navy); color: #b8c6d4; padding-block: 36px 20px; position: relative; font-size: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; gap: 24px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.6fr 1.3fr 1fr; } }
.site-footer .brand .a { color: #fff; }
.site-footer .brand .b { color: #3c83e8; } /* the logo's blue, as in the header and the app */
.site-footer .brand { margin-bottom: 6px; }
.site-footer h4 { color: #fff; margin: 0 0 6px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer ul.cols { grid-template-columns: repeat(2, auto); column-gap: 28px; justify-content: start; }
.site-footer p { margin: 0 0 8px; line-height: 1.5; }
.site-footer li a { display: inline-block; padding: 5px 0; min-height: 32px; line-height: 1.3; }
/* Social links in the footer brand column. */
.site-footer .follow-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; }
.site-footer .follow { margin: 0; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; font-weight: 700; }
.site-footer ul.social { display: flex; gap: 10px; }
.site-footer ul.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; padding: 0; }
.site-footer ul.social a:hover, .site-footer ul.social a:focus-visible { background: #3c83e8; text-decoration: none; }
.site-footer ul.social svg { width: 20px; height: 20px; }
.legal { margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* Page heads */
.page-head { padding-block: 40px 28px; background: linear-gradient(180deg, #fff, var(--mist)); }
.page-head p.lead { margin-top: 16px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
@media (min-width: 700px) { .form-card { padding: 36px; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--charcoal); margin-bottom: 6px; font-size: 16px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.4 var(--font); color: var(--navy);
  background: #fff; border: 1px solid var(--hair); border-radius: 10px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(39, 105, 200, 0.2); }
.field .help { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.two { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; }
.aside-list { display: grid; gap: 20px; }
.aside-item { display: flex; gap: 14px; }
.aside-item h3 { font-size: 1.05rem; margin: 0 0 2px; }
.aside-item p { margin: 0; font-size: 16px; }
.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: start; } }
.worked { background: #fff; border: 1.5px solid var(--blue); border-radius: 16px; padding: 22px 24px; margin-top: 24px; }
.worked strong { color: var(--navy); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Added: ghost button, status pills, store list, form extras, touch and tablet tuning */
.btn.ghost { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; box-shadow: none; }
.pill.bad { background: rgba(198,40,40,0.1); color: var(--red); }
.store-list { list-style: none; margin: 0; padding: 0; }
.store-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--hair); font-variant-numeric: tabular-nums; }
.store-list li:first-child { border-top: 0; }
.store-list .sn { font-weight: 700; color: var(--navy); }
.store-list .sv { color: var(--charcoal); font-size: 15px; }
@media (max-width: 430px) { .store-list li { grid-template-columns: 1fr auto; } .store-list .sv { grid-column: 1; grid-row: 2; color: var(--muted); } .store-list .pill { grid-column: 2; grid-row: 1 / span 2; } }
.demo-pair .device { height: 100%; }
.demo-pair > div { display: flex; flex-direction: column; }
.demo-pair .demo-label { margin-top: 12px; }
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input[type="date"] { appearance: none; -webkit-appearance: none; min-height: 48px; display: block; }
a, button, summary, .btn { -webkit-tap-highlight-color: rgba(39,105,200,0.15); touch-action: manipulation; }
@media (min-width: 700px) and (max-width: 1179px) {
  /* iPad portrait and small landscape: roomier type, two-up grids, full-width forms */
  .wrap { padding-inline: 32px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .btn { min-height: 52px; }
  .menu-btn { width: 48px; height: 48px; }
  .mobile-sheet { padding-inline: 32px; }
}
@media (hover: none) { .btn:hover { box-shadow: none; } }
@supports (padding: max(0px)) { .site-footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); } }
.founder.one { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin-inline: auto; }
.founder img.portrait { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 15%; max-width: 300px; width: 100%; justify-self: center; background: #000; }
@media (max-width: 899px) { .founder img.portrait { max-width: 240px; } }
@media (max-width: 430px) { .brand { font-size: 1.4rem; gap: 8px; } .brand img { width: 42px; height: 42px; } }
/* Round 2: category headline with the benefit line under it */
.hero h1 { font-size: clamp(1.9rem, 3.6vw + 0.7rem, 2.9rem); margin-bottom: 12px; }
.hero .tagline { font-size: clamp(1.1rem, 0.8vw + 0.9rem, 1.3rem); font-weight: 800; color: #fff; margin: 0 0 18px; letter-spacing: -0.01em; }
.hero-price { margin: 20px 0 0; color: #fff; font-size: 16px; max-width: 52ch; }
.hero-price strong { color: #fff; }
.hero-note { margin-top: 14px; padding-top: 0; border-top: 0; }
/* Round 3: three demo cards, day-flow strip, founder strip */
.demo-trio { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .demo-trio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .demo-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bad-text { color: var(--red) !important; font-weight: 700; }
table.mini td.bad-text:last-child { color: var(--red); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: f; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; } }
.flow li { background: #fff; border: 1px solid var(--hair); border-radius: 14px; padding: 16px; display: grid; gap: 4px; font-size: 15px; line-height: 1.4; }
.flow .n { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-bottom: 4px; }
.flow strong { color: var(--navy); font-size: 1.05rem; }
.founder-strip { padding-block: 28px; background: #fff; border-bottom: 1px solid var(--hair); }
.founder-strip p { margin: 0 auto; }
.founder-strip .strip-lead { font-size: 1.2rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
/* Compact hero: the text column drives the height, so keep it short */
.hero h1 { font-size: clamp(1.8rem, 3vw + 0.8rem, 2.5rem); }
.hero p.lead { font-size: 1.02rem; margin-bottom: 20px; }
.hero .tagline { margin-bottom: 12px; }
.hero-price { font-size: 14.5px; color: #c9d5e1; margin-top: 14px; }
.hero-price strong { color: #fff; }
.cta-note { margin-top: 8px; }
@media (min-width: 1000px) {
  .hero-split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); min-height: 0; }
  .hero-text { padding: 36px 20px 36px var(--gutter); }
  .hero-photo img { max-height: 560px; }
}
@media (min-width: 1300px) { .hero-text { padding-left: calc((100vw - 1200px) / 2 + var(--gutter)); } }
@media (min-width: 700px) and (max-width: 999px) { .hero-photo img { aspect-ratio: 2.6 / 1; } .hero-text { padding-bottom: 36px; } }
/* Phone: keep the first screen short so the demo cards peek in */
@media (max-width: 699px) {
  .hero-photo img { aspect-ratio: 2 / 1; }
  .hero-text { padding-bottom: 28px; }
  .hero h1 { font-size: 1.75rem; margin-bottom: 8px; }
  .hero .tagline { font-size: 1.2rem; margin-bottom: 8px; }
  .hero p.lead { font-size: 0.98rem; margin-bottom: 16px; }
  .hero .eyebrow { margin-bottom: 6px; font-size: 12px; }
  .hero-price { font-size: 13.5px; margin-top: 10px; }
}
/* About portrait: match the height of the text beside it */
@media (min-width: 1180px) {
  .founder { align-items: stretch; }
  .founder > div { align-self: center; }
  .founder img.portrait { aspect-ratio: auto; height: 100%; max-height: 560px; min-height: 240px; max-width: 320px; align-self: stretch; object-position: 50% 14%; }
}
@media (max-width: 1179px) { .founder img.portrait { aspect-ratio: 4 / 5; max-width: 220px; } }
/* Seven nav links: tighten a little on iPad Air landscape and small laptops */
@media (min-width: 1180px) and (max-width: 1279px) { .nav { gap: 10px; } .nav-links a:not(.btn) { padding: 10px 9px; font-size: 15px; } }

/* Card colour with a hierarchy (2026-10-16): core cards strongest, Trackers lighter, roles neutral.
   Brand blues only; text stays navy. */
:root {
  --tint-core: #e6f0fc; --line-core: #c3d9f3;
  --tint-1: #f2f7fd; --line-1: #d3e2f5;
  --warm: #f6f4f1; --warm-line: #e6e0d8;
  --cyan-deep: #0b6f8f; --cyan-tile: #d9f2f9;
}
/* The two core cards (Daily Close, Owner Dashboard): strongest tint, logo gradient along the top. */
.card:has(> .chips), .card:has(> .checks) { position: relative; overflow: hidden; padding-top: 28px; background: var(--tint-core); border-color: var(--line-core); }
.card:has(> .chips)::before, .card:has(> .checks)::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--ring-1), var(--ring-2), var(--ring-3)); }
.card:has(> .chips) .icon, .card:has(> .checks) .icon { background: #fff; }
.chips li { background: #fff; border: 1px solid var(--line-core); }
/* Trackers: lighter tint, icon tiles alternate blue and a deeper cyan from the logo ring. */
.tracker-card { background: var(--tint-1); border-color: var(--line-1); }
.tracker-card .icon { background: #dce9fa; color: var(--blue-press); }
.tracker-card:nth-child(even) .icon { background: var(--cyan-tile); color: var(--cyan-deep); }
/* Pairs of standalone cards (POS upload, store separation): same tint family as the Trackers. */
.tint-card { background: var(--tint-1); border-color: var(--line-1); }
.tint-card .icon { background: #dce9fa; color: var(--blue-press); }
.tint-card:nth-child(even) .icon { background: var(--cyan-tile); color: var(--cyan-deep); }
/* Roles: a blue ramp from Owner (most access, darkest) to Viewer (read-only, lightest), each with
   an accent bar and a filled icon, so they read as a set and not as Trackers. */
.role-card { position: relative; overflow: hidden; padding-left: 28px; border-color: var(--hair); }
.role-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--role); }
.role-card:nth-child(1) { --role: #031d34; background: #e9eff6; }
.role-card:nth-child(2) { --role: #1e54a3; background: #edf3fb; }
.role-card:nth-child(3) { --role: #2769c8; background: #f1f6fd; }
.role-card:nth-child(4) { --role: #2c8bde; background: #f5f9fe; }
.role-card .icon, .role-card:nth-child(even) .icon { background: var(--role); color: #fff; }
/* Steps and day flow: pale blue. Pain points: warm grey with the red icons kept. */
.step, .flow li { background: var(--tint-1); border-color: var(--line-1); }
.pain { background: var(--warm); border-color: var(--warm-line); }
.pain .icon.red { background: #fde7e4; }
.worked { background: var(--tint-1); }
/* Beside the forms and in FAQ lists. Forms themselves stay white to type into. */
.aside-item { background: var(--tint-1); border: 1px solid var(--line-1); border-radius: 14px; padding: 16px; }
.faq details { background: var(--tint-1); border-color: var(--line-1); }
.faq details[open] { background: #fff; }
section.alt .wrap > .checks li { background: #fff; border: 1px solid var(--hair); border-radius: 10px; padding: 10px 12px; }
/* Section bands so the page is not all white. */
#pricing-teaser { background: #e8f1fc; }
.founder-strip { background: var(--navy); border-bottom: 0; }
.founder-strip .strip-lead { color: #fff; }
.founder-strip p { color: #d2dce6; }
.founder-strip a { color: #8fc0ff; }
/* A gentle lift on devices that can hover. */
@media (hover: hover) {
  .card, .step, .flow li, .pain, .aside-item { transition: transform 0.15s, box-shadow 0.15s; }
  .card:hover, .step:hover, .flow li:hover, .pain:hover, .aside-item:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(3, 29, 52, 0.1); }
}
/* Closing band: the "30 days free..." sentence stays on one line when the screen is wide enough. */
@media (min-width: 700px) { .band p.one-line { max-width: none; white-space: nowrap; font-size: clamp(0.95rem, 1.6vw, 1.05rem); } }
@media (min-width: 960px) { .band .wrap.band-wide { max-width: 960px; } }
/* About: a pale blue band, and the founder's experience as three facts. */
#about { background: #eaf2fc; }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.facts li { background: #fff; border: 1px solid var(--line-core); border-top: 4px solid var(--blue); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.facts strong { font-size: 1.9rem; line-height: 1.1; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.facts li:nth-child(3) strong { font-size: 1.35rem; line-height: 1.45; }
.facts span { font-size: 15px; line-height: 1.35; color: var(--charcoal); }
.founder cite { color: var(--navy); }
/* About: team cards (headshots) */
.team { display: grid; gap: 20px; margin-top: 8px; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.member { background: #fff; border: 1px solid var(--line-core); border-top: 4px solid var(--blue); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.member:nth-child(2) { border-top-color: var(--ring-2); }
.member:nth-child(3) { border-top-color: var(--cyan-deep); }
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; display: block; background: var(--navy); box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line-core); margin-bottom: 16px; }
.member:nth-child(2) .avatar { background: var(--blue); }
.member:nth-child(3) .avatar { background: var(--cyan-deep); }
.member h3 { margin: 0 0 4px; }
.member .role { color: var(--blue-press); font-weight: 600; font-size: 15px; line-height: 1.4; margin-bottom: 10px; }
.member p:last-child { font-size: 16px; margin: 0; }
.team + .facts { margin-top: 28px; }
.facts li:nth-child(3) strong { font-size: 1.15rem; line-height: 1.35; }
/* reCAPTCHA checkbox (Netlify injects it): keep it inside the card on narrow phones. */
.captcha { min-height: 78px; margin: 0 0 14px; }
/* Netlify fills this box with the reCAPTCHA checkbox on the live site; elsewhere it stays empty and takes no room. */
.captcha:empty { display: none; }
@media (max-width: 420px) { .captcha { transform: scale(0.86); transform-origin: 0 0; min-height: 68px; margin-bottom: 8px; } }

.tracker-chips { justify-content: center; margin-top: 0; }
.tracker-chips li { font-size: 15px; padding: 8px 16px; }

/* Suggest-a-feature: even columns, shorter form */
@media (min-width: 1180px) { .split.split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.form-compact { padding: 22px; }
@media (min-width: 700px) { .form-compact { padding: 26px 28px; } }
.form-compact .field { margin-bottom: 14px; }
.form-compact .field textarea { min-height: 76px; }
.three { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .three { grid-template-columns: 1fr 1fr 1fr; } }
.three { align-items: end; }
.three .field label { white-space: nowrap; }
.form-compact .captcha { margin: 0 0 12px; }
/* 30-day trial banner beside the pricing teaser */
.teaser-split { display: grid; gap: 28px; align-items: center; }
.teaser-text .btn-row { margin-top: 20px; }
/* The 30-day free trial image, shown as a card held at an angle: tilted in 3D like a payment
   card, with rounded corners, a soft shadow and a faint reflection below. The image itself is
   unchanged. The bottom padding is room for the reflection, which takes up no space of its own. */
.trial-banner { display: block; width: 100%; max-width: 520px; margin-inline: auto; padding: 12px 5% 12%; perspective: 1400px; }
.trial-banner-tilt {
  display: block; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 48px -18px rgba(3, 29, 52, 0.45);
  transform: rotateY(-16deg) rotateX(6deg) rotateZ(-3deg);
  transform-origin: 50% 60%;
  -webkit-box-reflect: below 3px linear-gradient(transparent 82%, rgba(255, 255, 255, 0.16));
}
.trial-banner img { display: block; width: 100%; height: auto; }
.trial-banner:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; border-radius: 12px; }
@media (min-width: 960px) { .teaser-split { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; } .trial-banner { margin-inline: 0; } }
@media (min-width: 700px) and (max-width: 1179px) { .teaser-split { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: no-preference) {
  .trial-banner-tilt { transition: transform 0.35s ease; }
  .trial-banner:hover .trial-banner-tilt, .trial-banner:focus-visible .trial-banner-tilt { transform: rotateY(-8deg) rotateX(3deg) rotateZ(-1.5deg) translateY(-4px); }
}

/* Tour video (Home, Book a demo) */
.tour { margin: 0 auto; }
.tour-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--navy); box-shadow: 0 24px 48px -20px rgba(3, 29, 52, 0.45); }
.tour-cta { justify-content: center; margin-top: 24px; }
.tour-head { margin-top: 28px; }

/* What's coming (roadmap) cards on features.html */
.roadmap { border-top: 1px solid var(--hair); }
.roadmap-card { position: relative; border-style: dashed; }
.roadmap-card .pill { position: absolute; top: 18px; right: 18px; font-size: 12px; padding: 3px 10px; }

/* Founding price (owner decision FP1, 2026-11-07) */
del.was { color: var(--muted); font-weight: 600; text-decoration-thickness: 2px; margin-right: 4px; }
.hero-price del.was { color: #b9c6dc; }
.founding-tag { display: block; width: fit-content; margin-top: 6px; background: var(--red); color: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 2px 10px; letter-spacing: 0.02em; }
.founding-note { margin: 16px 0 0; padding: 14px 18px; border-radius: 12px; background: var(--tint); color: var(--charcoal); font-size: 15px; }
.founding-note strong { color: var(--navy); }
.founding { color: var(--red); }
.hero-price .founding { color: #ff8a80; }

/* Book a demo: headings on one line, even side cards, icons never squeezed */
.aside-item .icon { flex: none; }
.aside-cards { display: grid; grid-auto-rows: 1fr; gap: 20px; }
.demo-aside { align-content: start; }
@media (min-width: 960px) { #book .split { align-items: stretch; } }
.demo-left { display: flex; flex-direction: column; }
.demo-left > .form-card { flex: 1; }
