/* ==========================================================================
   Brand tokens — change colors/fonts here to rebrand.
   ========================================================================== */
:root {
  /* Brigadaro: warm ink black, cream paper, a copper primary and a bright copper highlight, from the logo's ribbon. */
  --ink: #1b1916;
  --ink-2: #24211d;
  --ink-3: #45403a;
  --paper: #faf7f2;
  --paper-2: #f3ede4;
  --card: #ffffff;
  --rule: #e9e1d5;
  --rule-dark: #3a352f;
  --muted: #6b6259;
  --accent: #a9521b;
  --accent-dark: #8a4116;
  --accent-tint: #f8eadd;
  --accent-soft: #eaa66e;
  --zest: #e8893a;
  --zest-soft: #f2c08e;
  --zest-tint: #fcf1e4;
  --mint: #5ee0b4;
  --sage: #1c7f55;
  --sage-tint: #dff5e9;
  --amber-tint: #fff1d6;
  --danger: #d1343a;
  --danger-tint: #fde6e6;
  --steel-1: #ddd5ca;
  --steel-2: #a39a8f;
  --on-dark: #e2dbd1;
  --on-dark-2: #b3aa9e;

  --f-display: "Bricolage Grotesque", "Figtree", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(27, 25, 22, .05), 0 8px 24px -12px rgba(27, 25, 22, .14);
  --shadow-pop: 0 2px 4px rgba(27, 25, 22, .05), 0 24px 48px -20px rgba(122, 58, 18, .35);
  --shadow-ticket: var(--shadow-card);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--card);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
main:focus { outline: none; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.06; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.3rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3, .h3 { font-size: 1.3rem; }
.h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.2; margin: 0 0 .75em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.small { font-size: .875rem; }
.mono.small { font-size: .72rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.fine { font-size: .875rem; color: var(--muted); margin-top: 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.narrow-sm { max-width: 460px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink-3); max-width: 46ch; }
.eyebrow { color: var(--accent-dark); background: var(--accent-tint); margin-bottom: 1.1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .8rem .42rem .65rem; border-radius: 999px; font-weight: 600; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ic { width: 1.05em; height: 1.05em; flex: none; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--paper); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; color: var(--paper); }

/* ------------------------------------------------------------------ Buttons */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; min-height: 46px;
  font: 600 .98rem/1 var(--f-body); letter-spacing: 0; text-decoration: none;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd); border-radius: 999px;
  cursor: pointer; transition: transform .18s var(--ease), background .18s, box-shadow .18s, color .18s, border-color .18s;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 22px -12px rgba(27, 25, 22, .55); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { --bg: var(--accent); --bd: var(--accent); --fg: #fff; box-shadow: 0 8px 20px -10px rgba(169, 82, 27, .7); }
.btn-primary:hover { --bg: var(--accent-dark); --bd: var(--accent-dark); box-shadow: 0 12px 26px -12px rgba(169, 82, 27, .8); }
.btn-ink { --bg: var(--ink); --bd: var(--ink); }
.btn-ink:hover { --bg: var(--ink-3); --bd: var(--ink-3); }
.btn-ghost { --bg: #fff; --fg: var(--ink); --bd: var(--rule); }
.btn-ghost:hover { --bg: #fff; --fg: var(--accent-dark); --bd: var(--accent); box-shadow: none; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.3); }
.btn-ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; box-shadow: none; }
.btn-danger { --bg: transparent; --fg: var(--danger); --bd: var(--danger); }
.btn-danger:hover { --bg: var(--danger); --fg: #fff; }
.btn-disabled { --bg: var(--paper-2); --fg: var(--muted); --bd: var(--rule); cursor: not-allowed; }
.btn-disabled:hover { transform: none; box-shadow: none; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.04rem; min-height: 54px; }
.btn-sm { padding: .55rem 1rem; min-height: 38px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.link-btn:hover { color: var(--accent); }

/* ------------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 800 1.3rem/1 var(--f-display); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-light { color: #fff; }
.brand-light:hover { color: var(--paper); }
.admin-chip { font: 600 .65rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; padding: .35rem .5rem; background: var(--ink); color: var(--paper); border-radius: 2px; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-list { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; font-weight: 500; font-size: .96rem; padding: .45rem .75rem; border-radius: 999px; color: var(--ink-3); transition: background .15s, color .15s; }
.nav-list a:hover { background: var(--paper-2); color: var(--ink); }
.nav-list a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-dark); }
.nav-toggle { display: none; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); background: transparent; border-radius: var(--radius); cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s var(--ease); }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.4rem; background: var(--paper); border-bottom: 1px solid var(--rule); display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav .nav-list a { display: block; padding: .95rem 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .site-nav .nav-list a[aria-current="page"] { color: var(--accent); border-color: var(--rule); }
  .nav-cta { margin-top: 1rem; }
  .is-admin .nav-list { gap: .9rem; flex-wrap: wrap; justify-content: flex-end; font-size: .9rem; }
}

/* --------------------------------------------------------------------- Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 13ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.6rem; }
.hero-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; padding: 0; margin: 0; color: var(--muted); }
.hero-facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-facts li::before { content: ""; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2.1; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(27,25,22,.6); }
.hero-media::after { content: ""; position: absolute; inset: auto -1.2rem -1.2rem auto; width: 55%; height: 60%; border: 1.5px solid var(--accent); z-index: -1; border-radius: var(--radius); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { margin-top: 1rem; }
  .hero-media::after { display: none; }
}

/* Slide-in animation */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ----------------------------------------------------------------- Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.section-head { max-width: 760px; margin-bottom: 2.5rem; }

/* Step numbers */
.step-n { display: block; color: var(--accent); font-weight: 600; margin-bottom: 1.2rem; }

/* Plain lists */
.plain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.plain-list li { display: flex; gap: .8rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--accent); }
.plain-list .ic { color: var(--accent); margin-top: .25em; }
.plain-list.tight li { padding: .7rem .8rem; border-left-width: 1px; background: transparent; border: 0; border-bottom: 1px solid var(--rule); }

.cta-band { background: radial-gradient(90% 140% at 100% 0%, #d27a35 0%, var(--accent) 45%, var(--accent-dark) 100%); color: #fff; }
.cta-inner { max-width: 760px; }
.cta-band .btn-primary { --bg: var(--ink); --bd: var(--ink); }
.cta-band p { font-size: 1.15rem; color: #f8eadd; }

/* --------------------------------------------------------------- Page head */
.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); border-bottom: 1px solid var(--rule); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.page-head h1 { max-width: 18ch; }
.confirm-head .eyebrow { color: var(--sage); }

.table-scroll { overflow-x: auto; border: 1px solid var(--rule); background: var(--card); }
.compare, .data { width: 100%; border-collapse: collapse; font-size: .96rem; }
.compare th, .compare td, .data th, .data td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-family: var(--f-display); font-size: 1.05rem; background: var(--paper-2); }
.compare tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; }
.data thead th { font: 600 .7rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; background: var(--paper-2); }
.data td { font-size: .92rem; }

/* Prose and two-column */
.prose p { max-width: 64ch; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 900px) {  .two-col { grid-template-columns: 1fr; }  }

.file-list { list-style: none; padding: 0; margin: 0 0 1rem; border-top: 2px solid var(--ink); }
.file-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .95rem 0; border-bottom: 1px solid var(--rule); }
.file-type { display: grid; place-items: center; height: 56px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: .7rem; clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 0 100%); }
.file-meta { display: grid; gap: .15rem; min-width: 0; }
.file-meta span { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }

@media (max-width: 560px) { .downloads .file-row { grid-template-columns: 48px minmax(0, 1fr); } .downloads .file-row .btn { grid-column: 1 / -1; } }

.empty { padding: 2rem; border: 1.5px dashed var(--steel-2); background: repeating-linear-gradient(-45deg, transparent 0 12px, rgba(27,25,22,.025) 12px 24px); }
.empty .mono { color: var(--accent); }

/* About */
.about-copy h2 { font-size: 1.8rem; margin-top: 2rem; }
.about-copy h2:first-child { margin-top: 0; }
.value-list { margin: 0 0 1.5rem; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.value-list div { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.value-list dt { font: 600 .78rem/1.5 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }
.value-list dd { margin: 0; }
@media (max-width: 860px) {   .value-list div { grid-template-columns: 1fr; gap: .2rem; } }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { border-bottom: 1px solid var(--rule); }
.faq:first-child { border-top: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative; font: 600 1.2rem/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 2.5rem 1.4rem 0; color: var(--ink-3); max-width: 68ch; margin: 0; }

/* ------------------------------------------------------------------- Forms */
.card { background: var(--card); border: 1px solid var(--rule); padding: clamp(1.3rem, 3vw, 2rem); }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
label, legend { font-weight: 600; font-size: .95rem; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--rule); border-radius: var(--radius); padding: .75rem .85rem; min-height: 48px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-tint); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }
input[type="file"] { padding: .55rem; }
textarea { resize: vertical; }
.hint { font-size: .85rem; color: var(--muted); margin: 0; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15rem; accent-color: var(--accent); flex: none; }
fieldset { border: 0; padding: 0; margin: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.radio-row legend { margin-bottom: .5rem; width: 100%; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.contact-side { display: grid; gap: 1.5rem; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.notice { padding: .95rem 1.1rem; border-left: 4px solid; font-size: .96rem; margin-bottom: .5rem; }
.notice-ok { background: var(--sage-tint); border-color: var(--sage); }
.notice-warn { background: var(--amber-tint); border-color: #9a6b12; }
.notice-error { background: var(--danger-tint); border-color: var(--danger); }
.notice-info { background: var(--paper-2); border-color: var(--ink); }

/* ---------------------------------------------------------------- Checkout */

.checkout h1 { font-size: clamp(2rem, 4vw, 3rem); }

.receipt { margin: 1.2rem 0; border-top: 1px dashed var(--steel-2); }
.receipt div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--steel-2); }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 500; text-align: right; overflow-wrap: anywhere; }

.receipt-inline { max-width: 560px; background: var(--card); padding: 0 1rem; border: 1px solid var(--rule); }

.skeleton-list { display: grid; gap: .8rem; margin-top: 2rem; max-width: 560px; }
.skeleton-list span { height: 56px; background: linear-gradient(90deg, var(--paper-2) 0%, var(--card) 50%, var(--paper-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* -------------------------------------------------------------------- Legal */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }

/* -------------------------------------------------------------------- Admin */
.admin .h3 { margin-top: 2.5rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stat { background: var(--card); border: 1px solid var(--rule); padding: 1.1rem; display: grid; gap: .4rem; }
.stat strong { font: 700 1.8rem/1 var(--f-display); }
.pill { display: inline-block; font: 600 .68rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: .38rem .5rem; background: var(--paper-2); border-radius: 2px; white-space: nowrap; }
.pill-ok { background: var(--sage-tint); color: #2b4537; }
.pill-warn { background: var(--amber-tint); color: #6b4a0c; }
.social-links { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.social-links a.pill { color: var(--ink); text-decoration: none; }
.social-links a.pill:hover, .social-links a.pill:focus-visible { background: var(--accent); color: #fff; }
.setup-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.setup-list li { display: flex; gap: .8rem; align-items: center; padding: .7rem .9rem; background: var(--card); border: 1px solid var(--rule); }
.file-admin-list { display: grid; gap: 1rem; }
.file-admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.message { margin-bottom: 1rem; }
.message.is-handled { opacity: .65; }
.pre { white-space: pre-wrap; }

/* ------------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--rule-dark); }
.footer-brand p { margin-top: 1rem; max-width: 32ch; font-size: .95rem; }
.footer-contact { display: grid; gap: .55rem; }
.footer-contact .footer-h { margin-bottom: 0; }
.footer-contact a { color: var(--paper); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; overflow-wrap: anywhere; }
.footer-h { font: 600 .72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--paper); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-soft); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.4rem; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, body::before { display: none; }
}

/* Shown only while online billing isn't open */
.preview-banner { background: var(--amber-tint); color: #4d3608; border-bottom: 1px solid #d9c38f; padding: .55rem var(--gutter); font-size: .88rem; text-align: center; }
.preview-banner .mono { font-weight: 600; margin-right: .5rem; }

/* ==========================================================================
   App storefront: product illustration, paper → app list, demo, modules
   ========================================================================== */
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 { max-width: 15ch; }

/* Command Center illustration (HTML, not an image, so it stays crisp) */
.app-mock { margin: 0; }
.mock-window {
  background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(27,25,22,.55), 0 2px 0 rgba(27,25,22,.04);
  font: 400 .8rem/1.35 var(--f-body); color: var(--ink);
}
.mock-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .8rem; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.mock-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--steel-1); }
.mock-bar em { margin-left: .6rem; font-style: normal; font-size: .66rem; color: var(--muted); text-transform: none; letter-spacing: .02em; }
.mock-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); min-height: 330px; }
.mock-side { background: var(--ink); color: var(--on-dark); padding: .9rem .7rem; }
.mock-org { font-weight: 600; color: #fff; margin: 0 0 .9rem; font-size: .78rem; display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.mock-demo { background: var(--zest-soft); color: var(--ink); padding: .1rem .3rem; font-size: .55rem; border-radius: 2px; }
.mock-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.mock-side li { padding: .35rem .5rem; border-radius: 4px; font-size: .74rem; }
.mock-side li.is-on { background: rgba(255,255,255,.1); color: #fff; }
.mock-main { padding: .9rem 1rem 1rem; background: #fdfbf7; }
.mock-h { font-family: var(--f-display); font-weight: 600; font-size: .95rem; margin: 0 0 .55rem; }
.mock-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.mock-kpis div { border: 1px solid var(--rule); border-radius: 6px; background: #fff; padding: .55rem .65rem; display: grid; gap: .1rem; }
.mock-kpis .mono { font-size: .56rem; color: var(--muted); }
.mock-kpis strong { font: 700 1.15rem/1.15 var(--f-display); }
.mock-kpis i { font-style: normal; font-size: .66rem; color: var(--muted); }
.mock-kpis i.ok { color: var(--sage); }
.mock-kpis i.warn { color: var(--accent-dark); }
.mock-actions { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.mock-actions li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .55rem; align-items: center; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .6rem; font-size: .74rem; }
.mock-actions li span { grid-column: 2; font-size: .58rem; color: var(--muted); letter-spacing: .03em; }
.mock-actions b { grid-row: span 2; font-size: .55rem; padding: .2rem .35rem; border-radius: 3px; }
.pri-urgent { background: var(--danger); color: #fff; }
.pri-high { background: var(--amber-tint); color: #6b4a07; }
.pri-normal { background: var(--sage-tint); color: var(--sage); }
.app-mock figcaption { margin-top: .8rem; color: var(--muted); text-transform: none; letter-spacing: .02em; }
@media (max-width: 560px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
}

/* Demo */
.demo-band { background: var(--ink-2); color: var(--paper); }
.demo-band .eyebrow { color: var(--accent-soft); }
.demo-band .lede { color: var(--on-dark); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.demo-steps li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .8rem; padding: 1rem 1.1rem; border: 1px solid var(--rule-dark); background: rgba(255,255,255,.03); }
.demo-steps .step-n { color: var(--accent-soft); margin: .2rem 0 0; }
.demo-steps h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.demo-steps p { margin: 0; color: var(--on-dark); font-size: .95rem; }
.demo-note { color: var(--on-dark-2); margin: 2rem 0 0; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

/* Plan comparison marks */
.compare-modules td.yes { color: var(--accent); }
.compare-modules td.no { color: var(--steel-2); }
.compare-modules tbody th { white-space: normal; color: var(--ink); }

/* AI tags in illustrations */
.ai-tag { background: var(--zest-soft); color: var(--ink); padding: .15rem .35rem; font-size: .55rem; border-radius: 2px; }

.ai-summary { font-size: .8rem; line-height: 1.45; margin: 0 0 .8rem; padding: .6rem .7rem; background: #fff; border: 1px solid var(--rule); border-radius: 6px; }

/* ==========================================================================
   Product tour slideshow
   ========================================================================== */
.show {
  --t1: var(--accent-soft); --t2: var(--mint); --t3: var(--zest-soft);
  background: radial-gradient(120% 80% at 85% 0%, #7a3a12 0%, var(--ink) 55%) var(--ink);
  color: var(--paper); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2rem, 5vw, 3rem); position: relative; overflow: hidden;
}
.show .eyebrow { color: var(--t1); }
.show-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem 2rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.show-top h1, .show-top h2 { margin: 0; max-width: 18ch; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }

.show-controls[hidden] { display: none; }

  

.show-track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-color: var(--rule-dark) transparent;
}
.show-track:focus-visible { outline-offset: -3px; }
.show.is-enhanced .show-track { scrollbar-width: none; }
.show.is-enhanced .show-track::-webkit-scrollbar { display: none; }
.slide {
  --tc: var(--t1);
  scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center;
  padding: .5rem max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))) 2.6rem;
}
 
.slide-meta { display: flex; align-items: baseline; gap: 1rem; margin: 0 0 1.1rem; color: var(--on-dark-2); }
.slide-n { font: 800 clamp(3rem, 6vw, 4.6rem)/.85 var(--f-display); letter-spacing: -.04em; color: var(--tc); text-transform: none; }
.slide-n small { font: 600 .8rem/1 var(--f-mono); color: var(--on-dark-2); margin-left: .2rem; letter-spacing: .06em; }
.slide-tier { font-size: .66rem; border: 1px solid var(--tc); color: var(--tc); padding: .25rem .45rem; border-radius: 2px; white-space: nowrap; }
.slide-area { color: var(--on-dark-2); margin: 0 0 .5rem; font-size: .7rem; }
.slide-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.05; margin: 0 0 .9rem; max-width: 20ch; }
.slide-body { color: var(--on-dark); font-size: 1.04rem; max-width: 52ch; }
.slide-points { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .45rem; }
.slide-points li { display: flex; gap: .55rem; align-items: flex-start; font-size: .96rem; }
.slide-points .ic { color: var(--tc); margin-top: .2em; }
.slide-mods { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.slide-mods span { font-size: .6rem; padding: .3rem .5rem; background: rgba(255,255,255,.06); border: 1px solid var(--rule-dark); border-radius: 2px; color: #f0e9de; }
.slide-media { margin: 0; position: relative; }
.slide-media::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1.5px solid var(--tc); border-radius: 12px; opacity: .55; }

/* Enhanced: the active slide animates in; neighbours dim while scrolling past */
.show.is-enhanced .slide > * { transition: opacity .6s var(--ease), transform .7s var(--ease); }
.show.is-enhanced .slide:not(.is-active) > * { opacity: .25; }
.show.is-enhanced .slide:not(.is-active) .slide-media { transform: translateY(14px) scale(.97); }
.show.is-enhanced .slide.is-active .slide-copy > * { animation: rise .7s var(--ease) both; }
.show.is-enhanced .slide.is-active .slide-copy > :nth-child(2) { animation-delay: .05s; }
.show.is-enhanced .slide.is-active .slide-copy > :nth-child(3) { animation-delay: .1s; }
.show.is-enhanced .slide.is-active .slide-copy > :nth-child(4) { animation-delay: .16s; }
.show.is-enhanced .slide.is-active .slide-copy > :nth-child(5) { animation-delay: .22s; }
.show.is-enhanced .slide.is-active .slide-copy > :nth-child(6) { animation-delay: .28s; }

/* Controls: arrows, a segmented progress bar, play/pause */
.show-controls { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.show-btn, .show-play {
  flex: none; min-width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--paper); border: 1px solid var(--rule-dark); border-radius: 50%; font-size: 1.1rem;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.show-btn:hover, .show-play:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.show-play { border-radius: 999px; padding: 0 1rem; font-size: .68rem; }
.show-play.is-on { border-color: var(--t1); color: var(--t1); }
.show-play.is-on:hover { color: var(--ink); }
.show-dots { flex: 1; display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; min-width: 0; }
.show-dots li { flex: 1; min-width: 0; }
.show-dot { --tc: var(--t1); display: block; width: 100%; height: 30px; padding: 13px 0; background: none; border: 0; cursor: pointer; }
 
.show-dot i { display: block; height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); position: relative; overflow: hidden; }
.show-dot i::after { content: ""; position: absolute; inset: 0; background: var(--tc); transform: scaleX(0); transform-origin: left; }
.show-dot:hover i { background: rgba(255,255,255,.3); }
.show-dot.is-done i::after { transform: scaleX(1); opacity: .45; }
.show-dot.is-active i::after { transform: scaleX(1); }
.show.is-playing .show-dot.is-active i::after { animation: show-fill 7s linear both; }
@keyframes show-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.show-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.show-foot .mono { color: var(--on-dark-2); text-transform: none; letter-spacing: .02em; margin: 0; }
@media (max-width: 900px) {
  .slide { grid-template-columns: 1fr; align-items: start; }
  .slide-media { order: -1; }
  .slide-media::before { display: none; }
}
@media (max-width: 560px) {
  .show-dots { gap: 2px; }
  .show-play { padding: 0 .8rem; }
}

/* Illustration window used by the slides */
.tw {
  position: relative; background: #fff; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; color: var(--ink);
  box-shadow: 0 40px 70px -35px rgba(0,0,0,.8); font: 400 .8rem/1.35 var(--f-body);
}
.tw-body { padding: .9rem 1rem 1rem; background: #fdfbf7; min-height: 300px; display: grid; align-content: start; gap: .75rem; }
.tw-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.tw-head .mock-h { margin: 0; }
.tw-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.tw-rows li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; background: #fff; border: 1px solid var(--rule); border-radius: 6px; padding: .45rem .6rem; font-size: .76rem; }
.tw-tag { flex: none; font-size: .55rem; padding: .2rem .38rem; border-radius: 3px; background: var(--paper-2); color: var(--muted); }
.tw-ok { background: var(--sage-tint); color: var(--sage); }
.tw-warn { background: var(--amber-tint); color: #6b4a07; }
.tw-bad { background: var(--danger); color: #fff; }
.tw-info { background: #e3e7ef; color: #34405a; }
.tw-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.tw-kpis div { border: 1px solid var(--rule); border-radius: 6px; background: #fff; padding: .5rem .6rem; display: grid; gap: .1rem; }
.tw-kpis .mono { font-size: .55rem; color: var(--muted); }
.tw-kpis strong { font: 700 1.15rem/1.15 var(--f-display); }
.tw-kpis i { font-style: normal; font-size: .66rem; color: var(--muted); }
.tw-t-ok { color: var(--sage) !important; } .tw-t-warn { color: var(--accent-dark) !important; }
.tw-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.tw-bars li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 4.2rem; align-items: center; gap: .6rem; font-size: .74rem; }
.tw-bars b { font-size: .62rem; text-align: right; color: var(--ink-3); }
.tw-track { height: 10px; background: var(--paper-2); border-radius: 5px; overflow: hidden; }
.tw-track i { display: block; height: 100%; background: var(--ink-3); border-radius: 5px; transform-origin: left; }
.tw-fill-ok { background: var(--sage) !important; } .tw-fill-warn { background: var(--zest-soft) !important; } .tw-fill-bad { background: var(--danger) !important; }
.show.is-enhanced .slide.is-active .tw-track i { animation: grow .9s .25s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.bw-5 {width:5%}.bw-10 {width:10%}.bw-15 {width:15%}.bw-20 {width:20%}.bw-25 {width:25%}.bw-30 {width:30%}.bw-35 {width:35%}.bw-40 {width:40%}.bw-45 {width:45%}.bw-50 {width:50%}
.bw-55 {width:55%}.bw-60 {width:60%}.bw-65 {width:65%}.bw-70 {width:70%}.bw-75 {width:75%}.bw-80 {width:80%}.bw-85 {width:85%}.bw-90 {width:90%}.bw-95 {width:95%}.bw-100 {width:100%}
.tw-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); border-radius: 6px; font-size: .74rem; }
.tw-table th { font: 600 .55rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: right; padding: .45rem .6rem; background: var(--paper); border-bottom: 1px solid var(--rule); }
.tw-table td { padding: .4rem .6rem; border-bottom: 1px solid #f1ebe2; text-align: right; font-variant-numeric: tabular-nums; }
.tw-table th:first-child, .tw-table td:first-child { text-align: left; }
.tw-table tr:last-child td { border-bottom: 0; }
.tw-total td { font-weight: 700; border-top: 1.5px solid var(--ink); }
.tw-note { margin: 0; font-size: .58rem; color: var(--muted); text-transform: none; letter-spacing: .03em; }
.tw-sched { display: grid; grid-template-columns: 3.6rem repeat(5, minmax(0, 1fr)); gap: 3px; font-size: .64rem; }
.tw-sched > .mono { font-size: .55rem; color: var(--muted); text-align: center; }
.tw-sched b { font-weight: 600; align-self: center; }
.tw-sched i { font-style: normal; text-align: center; padding: .45rem 0; background: var(--sage-tint); color: var(--sage); border-radius: 4px; }
.tw-sched i.off { background: repeating-linear-gradient(-45deg, var(--paper-2) 0 4px, transparent 4px 8px); }
.tw-sched i.warn { background: var(--amber-tint); color: #6b4a07; }
.tw-sched i.open { background: #fff; border: 1px dashed var(--accent); color: var(--accent-dark); }
.tw-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; position: relative; }
.tw-quad div { padding: .6rem .65rem; border-radius: 6px; display: grid; gap: .25rem; align-content: start; min-height: 92px; font-size: .74rem; }
.tw-quad .mono { font-size: .56rem; }
.tw-quad b { font-weight: 500; background: rgba(255,255,255,.7); padding: .2rem .4rem; border-radius: 3px; }
.q-star { background: var(--sage-tint); color: #2b4537; }
.q-plow { background: var(--amber-tint); color: #6b4a07; }
.q-puzzle { background: #e3e7ef; color: #34405a; }
.q-dog { background: var(--danger-tint); color: #9c2328; }
.tw-kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.tw-kanban div { background: var(--paper); border-radius: 6px; padding: .5rem; display: grid; gap: .35rem; align-content: start; min-height: 120px; }
.tw-kanban .mono { font-size: .55rem; color: var(--muted); }
.tw-kanban b { font-weight: 500; background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: .4rem .45rem; display: flex; justify-content: space-between; font-size: .72rem; }
.tw-kanban em { font: 600 .62rem/1.3 var(--f-mono); font-style: normal; color: var(--sage); }

/* ==========================================================================
   Financial performance showcase
   ========================================================================== */
.t3 {
  background:
    linear-gradient(180deg, rgba(169,82,27,.10), transparent 40%),
    var(--ink-2);
  color: var(--paper); position: relative; overflow: hidden;
}
.t3::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 79px 80px);
}
.t3 > .wrap { position: relative; }
.t3 .eyebrow { color: var(--zest-soft); }
.t3 h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); max-width: 14ch; }
.t3 h2 em { color: var(--zest-soft); }
.t3 .lede { color: var(--on-dark); max-width: 52ch; }
.t3-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }

.t3-mock .tw { transform: rotate(.8deg); }
.t3-mock .tw-body { min-height: 0; }
.t3-mock figcaption { color: var(--on-dark-2); }
.t3-media { position: relative; }
.t3-media::before { content: ""; position: absolute; inset: -1.2rem 1.4rem 2.6rem -1.2rem; border: 1.5px solid var(--zest-soft); border-radius: 12px; opacity: .5; }
.t3-ai { background: var(--accent-tint); border: 1px solid #f3d3b5; border-radius: 6px; padding: .6rem .7rem; display: grid; gap: .35rem; justify-items: start; }
.t3-ai p { margin: 0; font-size: .76rem; line-height: 1.45; }
.t3-cards { list-style: none; padding: 0; margin: clamp(2.5rem, 6vw, 4.5rem) 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--rule-dark); border: 1px solid var(--rule-dark); }
.t3-card { background: var(--ink-2); padding: 1.4rem 1.2rem 1.5rem; display: flex; flex-direction: column; transition: background .3s var(--ease); }
.t3-card:hover { background: #2d2924; }
.t3-n { color: var(--zest-soft); font-weight: 600; margin-bottom: 1.4rem; }
.t3-card h3 { font-size: 1.2rem; margin: 0 0 .5rem; }
.t3-card p { color: var(--on-dark); font-size: .92rem; margin: 0 0 1.1rem; }
.t3-mods { list-style: none; margin: auto 0 0; padding: .8rem 0 0; border-top: 1px dashed var(--rule-dark); display: grid; gap: .35rem; }
.t3-mods li { font-size: .6rem; color: #f0e9de; display: flex; gap: .45rem; align-items: center; }
.t3-mods li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--zest-soft); flex: none; }

@media (max-width: 1080px) { .t3-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .t3-grid { grid-template-columns: 1fr; } .t3-media::before { display: none; } }
@media (max-width: 640px) { .t3-cards { grid-template-columns: 1fr; }  }

/* ==========================================================================
   Modern surfaces: rounded cards, soft shadows, bright hero glow
   ========================================================================== */
.card, .plain-list li, .table-scroll, .demo-steps li, .stat, .setup-list li, .empty, .receipt-inline { border-radius: var(--radius); }
.notice { border-radius: var(--radius-sm); border-left-width: 4px; }
.card, .plain-list li:not(.tight li) { box-shadow: var(--shadow-card); border-color: var(--rule); }
.plain-list li { border-left: 1px solid var(--rule); }
.plain-list li .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 3px; width: 1.25em; height: 1.25em; }
.plain-list.tight li { border-radius: 0; box-shadow: none; }
.plain-list.tight li .ic { color: var(--accent); background: none; padding: 0; width: 1.05em; height: 1.05em; }

.step-n { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--accent-tint); color: var(--accent-dark); }
.demo-steps .step-n { background: rgba(234,166,110,.14); color: var(--accent-soft); }

.faq:first-child { border-top: 1px solid var(--rule); }
.faq summary { font-weight: 700; }
.faq summary::after { border-color: var(--accent); }
.value-list { border-top: 1px solid var(--rule); }
.file-list { border-top: 1px solid var(--rule); }
.file-type { border-radius: 10px; clip-path: none; background: var(--accent-tint); color: var(--accent-dark); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { border-radius: var(--radius-sm); border-width: 1px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-tint); }
.pill, .tw-tag, .slide-tier, .slide-mods span, .admin-chip { border-radius: 999px; }

.mock-window, .tw { border-radius: 16px; box-shadow: var(--shadow-pop); }
.mock-side { background: var(--ink); }
.mock-side li.is-on { background: rgba(234,166,110,.18); }
.mock-kpis div, .mock-actions li, .ai-summary, .tw-rows li, .tw-kpis div { border-radius: 10px; }
.mock-h, .mock-kpis strong, .tw-kpis strong { font-weight: 700; letter-spacing: -.01em; }

.hero {
  background:
    radial-gradient(60% 70% at 92% 8%, rgba(210, 122, 53, .16), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(232, 137, 58, .10), transparent 70%),
    var(--card);
}
.hero-media::after { border-color: var(--accent-soft); border-radius: var(--radius-lg); opacity: .6; }
.hero-facts li::before { background: var(--zest); }
.page-head {
  background: radial-gradient(70% 120% at 85% 0%, rgba(210, 122, 53, .12), transparent 70%), var(--paper);
  border-bottom: 1px solid var(--rule);
}
.page-head-center .center-head h1 { margin-left: auto; margin-right: auto; }
.center-head { text-align: center; margin-left: auto; margin-right: auto; }
.center-head .lede { margin-left: auto; margin-right: auto; max-width: 60ch; }
.section-head.center-head { max-width: 820px; }

.receipt, .receipt div { border-style: solid; border-color: var(--rule); }
.compare thead th { font-family: var(--f-body); font-weight: 700; font-size: .98rem; }

.compare-modules td.yes { color: var(--accent); }

/* Dark bands */
.demo-band { background: radial-gradient(80% 100% at 100% 0%, #3a2414 0%, var(--ink) 60%); }
.demo-band .eyebrow, .show .eyebrow, .t3 .eyebrow { background: rgba(234, 166, 110, .14); color: var(--accent-soft); }
.t3 .eyebrow { background: rgba(242, 192, 142, .14); color: var(--zest-soft); }
.t3 { background: radial-gradient(70% 90% at 0% 0%, rgba(232, 137, 58, .14), transparent 60%), var(--ink-2); }
.t3-cards { border-radius: var(--radius-lg); overflow: hidden; }
.cta-band .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer a:hover { color: var(--accent-soft); }

/* ==========================================================================
   Pricing packages
   ========================================================================== */
.plans-section { background: var(--paper); border-top: 1px solid var(--rule); }
.pricing-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); background: radial-gradient(60% 60% at 50% 0%, rgba(210, 122, 53, .16), transparent 75%), var(--paper); }
.pricing-hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); align-items: stretch; }

.pkg {
  position: relative; display: flex; flex-direction: column; gap: 0;
  padding: 1.7rem 1.6rem 1.4rem; background: var(--card); color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: #ecd5bd; }
.pkg-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 28px; margin-bottom: 1rem; }

.pkg-flag { font: 700 .74rem/1 var(--f-body); color: var(--ink); background: var(--zest-soft); padding: .42rem .7rem; border-radius: 999px; }
.pkg-name { font-size: 1.55rem; margin: 0 0 .4rem; }
.pkg-name a { text-decoration: none; }
.pkg-name a:hover { color: inherit; }
.pkg-for { color: var(--muted); font-size: .95rem; line-height: 1.45; margin: 0 0 1.3rem; min-height: 2.9em; }

.price { font: 800 2.9rem/1 var(--f-display); letter-spacing: -.045em; }

.pkg-list { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .62rem; }
.pkg-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; line-height: 1.4; }
.pkg-list .ic { flex: none; width: 1.2rem; height: 1.2rem; padding: 3px; margin-top: .05rem; border-radius: 50%; color: var(--accent-dark); background: var(--accent-tint); }

.pkg-featured {
  background: radial-gradient(120% 70% at 100% 0%, #7a3a12 0%, var(--ink) 60%);
  color: #fff; border-color: transparent; box-shadow: 0 30px 60px -28px rgba(122, 58, 18, .65);
}
.pkg-featured:hover { border-color: transparent; box-shadow: 0 36px 70px -28px rgba(122, 58, 18, .75); }

.pkg-featured .pkg-for { color: var(--on-dark-2); }

.pkg-featured .pkg-list .ic { background: var(--accent); color: #fff; }
.pkg-featured .text-link { color: #fff; }
.pkg-featured .btn-disabled { --bg: var(--ink-3); --fg: var(--on-dark); --bd: var(--rule-dark); }

@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; } .pkg-for { min-height: 0; } }

/* ==========================================================================
   Competitor comparison
   ========================================================================== */
.compare-section { background: var(--card); }
.cmp-scroll { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.cmp { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.cmp th, .cmp td { padding: .95rem 1rem; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font: 700 .92rem/1.2 var(--f-body); background: var(--paper); color: var(--ink-3); white-space: nowrap; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp .cmp-feature { text-align: left; }
.cmp td small { display: block; margin-top: .25rem; font-size: .74rem; line-height: 1.3; color: var(--muted); }
.cmp .cmp-us { background: var(--accent-tint); border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.cmp thead .cmp-us { background: var(--accent); color: #fff; border-top: 2px solid var(--accent); }
.cmp tbody tr:last-child .cmp-us { border-bottom: 2px solid var(--accent); }
.cmp-brand { font: 800 1.05rem/1 var(--f-display); letter-spacing: -.02em; }
.cmp .cmp-us small { color: var(--accent-dark); }
.cmp .cmp-us strong { display: block; font-weight: 700; }
.cmp-yes .ic { width: 1.35rem; height: 1.35rem; padding: 4px; border-radius: 50%; background: var(--sage); color: #fff; vertical-align: middle; }
.cmp-us.cmp-yes .ic { background: var(--accent); }
.cmp-no { color: var(--steel-2); }
.cmp-chip { display: inline-block; font: 600 .7rem/1 var(--f-body); padding: .32rem .55rem; border-radius: 999px; background: var(--amber-tint); color: #6b4a07; }
.cmp-addon .cmp-chip { background: var(--zest-tint); color: #93400f; }
.cmp-pay { display: block; font-size: .82rem; line-height: 1.35; color: var(--ink-3); max-width: 15ch; margin: 0 auto; }
.cmp-price-row td, .cmp-price-row th { background: #fdfcfa; }
.cmp-plans { list-style: none; margin: 0; padding: 0; font-size: .82rem; line-height: 1.45; white-space: nowrap; }
.cmp .cmp-us .cmp-plans strong { display: inline; }
.cmp-price-row .cmp-us { background: var(--accent-tint); }
.cmp-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin: 1.2rem 0 0; font-size: .85rem; color: var(--muted); }
.cmp-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cmp-legend .ic { color: var(--sage); }
.cmp-legend span:nth-child(2) .cmp-chip { background: var(--amber-tint); color: #6b4a07; }
.cmp-legend span:nth-child(3) .cmp-chip { background: var(--zest-tint); color: #93400f; }
.cmp-sources { max-width: 780px; margin: 1.6rem auto 0; font-size: .88rem; color: var(--muted); }
.cmp-sources summary { cursor: pointer; text-align: center; font-weight: 600; color: var(--ink-3); }
.cmp-sources p { margin: .9rem 0 .6rem; }
.cmp-sources ul { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; padding: 0; margin: 0; list-style: none; }
.hero-media::after { display: none; }
.hero h1 { max-width: 16ch; }
@media (min-width: 901px) { .pkg-for { min-height: 4.4em; } }
.cmp tbody th, .cmp thead .cmp-feature { position: sticky; left: 0; z-index: 1; background: #fff; }
.cmp thead .cmp-feature, .cmp-price-row th { background: var(--paper); }
@media (max-width: 700px) { .cmp tbody th { white-space: normal; min-width: 8.5rem; font-size: .86rem; } .cmp { min-width: 900px; } }

/* ==========================================================================
   Compact home page: tighter rhythm, dark hero, pricing first, tabbed tour
   ========================================================================== */
.section { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }

/* Header: links in the middle, Sign in + demo always visible on the right */
.header-inner { min-height: 62px; }
.site-nav { flex: 1; justify-content: center; }
.header-actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.header-actions .btn-sm { min-height: 40px; }
.nav-m-only { display: none; }
@media (max-width: 1040px) and (min-width: 881px) { .nav-list a { padding: .45rem .55rem; font-size: .92rem; } }
@media (max-width: 880px) {
  .nav-m-only { display: block; }
  .nav-cta { margin-top: 0; }
  .nav-toggle { width: 44px; height: 44px; }
  .site-nav .nav-list a { padding: .8rem 0; font-size: 1.05rem; }
}
@media (max-width: 520px) {
  .nav-signin { display: none; }
  .header-actions .btn-sm { padding: .5rem .85rem; }
  .brand { font-size: 1.15rem; }
  .brand-logo { height: 26px; }
}

/* Shared compact section primitives */
.hs { padding: clamp(2.25rem, 5vw, 3.75rem) 0; }
.hs-kicker { display: block; color: var(--accent-dark); font-weight: 600; margin: 0 0 .5rem; }
.hs-h { font-size: clamp(1.6rem, 2.8vw, 2.25rem); margin: 0; max-width: 24ch; }
.hs-sub { color: var(--ink-3); margin: 0; max-width: 48ch; font-size: 1rem; line-height: 1.5; }
.hs-head { margin-bottom: clamp(1.25rem, 3vw, 1.75rem); }
.hs-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .75rem 2rem; }

/* Hero */
.hero-compact {
  background:
    radial-gradient(60% 90% at 92% 0%, rgba(210, 122, 53, .45), transparent 65%),
    radial-gradient(45% 60% at 0% 100%, rgba(232, 137, 58, .14), transparent 70%),
    var(--ink);
  color: var(--paper); padding: clamp(1.75rem, 4vw, 3rem) 0 clamp(2rem, 4.5vw, 3.25rem);
}
.hero-compact .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.hero-compact .hs-kicker { color: var(--accent-soft); }
.hero-compact h1 { font-size: clamp(2.1rem, 4.3vw, 3.4rem); max-width: 15ch; margin-bottom: .45em; }
.hero-compact h1 em { color: var(--accent-soft); }
.hero-lede { font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.5; color: var(--on-dark); max-width: 50ch; margin: 0; }
.hero-compact .hero-actions { margin: 1.4rem 0 1rem; gap: .6rem; }
.hero-compact .hero-facts { color: var(--on-dark-2); }
.hero-compact .mock-body { min-height: 0; }
.hero-compact .mock-window { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85); }
.hero-compact .app-mock figcaption { color: var(--on-dark-2); margin-top: .6rem; }
@media (max-width: 900px) { .hero-compact .hero-grid { grid-template-columns: 1fr; } .hero-compact .hero-media { margin-top: 0; } }

/* Pricing right below the hero */
.plans-section .pkg-grid { align-items: start; }
.plans-section .pkg { padding: 1.35rem 1.35rem 1.1rem; }
.plans-section .pkg-head { margin-bottom: .7rem; }
.plans-section .pkg-for { margin-bottom: .9rem; }

.plans-section .price { font-size: 2.5rem; }

.plans-section .pkg-list { gap: .45rem; margin-bottom: .8rem; }
.plans-section .pkg-list li { font-size: .93rem; }

@media (min-width: 901px) { .plans-section .pkg-for { min-height: 2.9em; } .plans-section .pkg-grid .pkg-featured { transform: none; } .plans-section .pkg-grid .pkg-featured:hover { transform: translateY(-4px); } }

.cmp-fold summary::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); flex: none; margin-left: .6rem;
}
.cmp-fold[open] summary::after { transform: translateY(2px) rotate(-135deg); }

  

/* Comparison, folded on the home page */
.cmp-compact { padding-top: 0; }
.cmp-fold-head { margin-bottom: 1rem; }
.cmp-fold summary {
  list-style: none; display: inline-flex; align-items: center; min-height: 44px; padding: .6rem 1.15rem; cursor: pointer;
  border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem; color: var(--ink);
}
.cmp-fold summary::-webkit-details-marker { display: none; }
.cmp-fold summary:hover { border-color: var(--accent); color: var(--accent-dark); }
.cmp-fold[open] summary { margin-bottom: 1rem; }

/* Getting started, terms and questions */
.qa { background: var(--paper); border-top: 1px solid var(--rule); }
.qa-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: start; }
.qa-side { position: sticky; top: 84px; }
.qa-side .hs-sub { margin-top: .75rem; }
.qa .faq summary { padding: .85rem 2.25rem .85rem 0; font-size: 1.02rem; min-height: 44px; }
.qa .faq p { padding: 0 2rem 1rem 0; font-size: .96rem; }

@media (max-width: 860px) { .qa-grid { grid-template-columns: 1fr; } .qa-side { position: static; } }

/* Closing demo band */
.home-cta { padding: clamp(2rem, 4.5vw, 3rem) 0; }
.home-cta-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 2rem; }
.home-cta .hs-h { color: #fff; }
.home-cta p { margin: .5rem 0 0; max-width: 58ch; font-size: 1rem; }

@media (max-width: 560px) {
  .hs { padding: 1.9rem 0; }
  .hero-compact { padding: 1.5rem 0 2rem; }
  .hero-compact .btn-lg, .home-cta .btn-lg { width: 100%; min-height: 50px; padding: .85rem 1.2rem; }
  .hs-head-row { gap: .5rem; }
}

/* ==========================================================================
   Mobile polish: floating menu, swipeable plans, flatter tour, tidy lists
   ========================================================================== */
html { -webkit-tap-highlight-color: rgba(169, 82, 27, .12); }

/* Check list (demo contents, plan features) */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; line-height: 1.45; }
.check-list .ic { flex: none; width: 1.25rem; height: 1.25rem; padding: 3px; margin-top: .1rem; border-radius: 50%; color: var(--accent-dark); background: var(--accent-tint); }

.swipe-hint { display: none; }

@media (max-width: 880px) {
  /* Menu toggle matches the pill buttons beside it */
  .nav-toggle { width: 42px; height: 42px; border: 1px solid var(--rule); background: #fff; border-radius: 999px; transition: border-color .15s, background .15s; }
  .nav-toggle:hover, .nav-toggle[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-tint); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { width: 18px; border-radius: 2px; }
  .nav-toggle-bars::before { top: -5px; } .nav-toggle-bars::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

  /* Menu: a floating card instead of a full-width sheet with ruled lines */
  .site-nav {
    left: .75rem; right: .75rem; top: calc(100% + .5rem); padding: .45rem;
    background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
  }
  .site-nav.is-open { display: flex; animation: menu-in .2s var(--ease) both; }
  .site-nav .nav-list { gap: 2px; }
  .site-nav .nav-list a {
    display: flex; justify-content: space-between; align-items: center; min-height: 48px;
    padding: .7rem .95rem; border-bottom: 0; border-radius: 12px; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  }
  .site-nav .nav-list a::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--steel-2); border-top: 2px solid var(--steel-2); transform: rotate(45deg); flex: none; }
  .site-nav .nav-list a:hover { background: var(--paper-2); color: var(--ink); }
  .site-nav .nav-list a[aria-current="page"] { background: var(--accent-tint); color: var(--accent-dark); }
  .site-nav .nav-list a[aria-current="page"]::after { border-color: var(--accent); }
  .nav-m-only { margin-top: .3rem; padding-top: .3rem; border-top: 1px solid var(--rule); }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  /* Plans: one swipeable row like the desktop's side-by-side cards, not three tall stacked cards */
  .swipe-hint { display: flex; align-items: center; gap: .45rem; margin: 0 0 .25rem; font-size: .62rem; color: var(--muted); }
  .swipe-hint::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
  .pkg-grid.pkg-swipe {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(86%, 340px); gap: .75rem; align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: .75rem var(--gutter) 1.5rem; scroll-padding-inline: var(--gutter);
  }
  .pkg-swipe::-webkit-scrollbar { display: none; }
  .pkg-swipe > .pkg { scroll-snap-align: start; }
  .pkg-swipe > .pkg:hover { transform: none; }
  .plans-section .pkg-swipe + .fine { margin-top: .25rem; }
  .pricing-hero .swipe-hint, .page-head + section .swipe-hint { justify-content: center; }
}

@media (max-width: 560px) {
  .preview-banner { font-size: .8rem; line-height: 1.4; padding: .45rem var(--gutter); }
  
  .hero-facts { gap: .3rem 1rem; }
  
  
  /* Paired buttons share the row evenly instead of sitting ragged */
  .hero-actions > .btn, .btn-row > .btn { flex: 1 1 auto; }
  
  .site-footer { padding-top: 2.5rem; }
  .footer-grid { gap: 1.75rem 1rem; padding-bottom: 1.75rem; }
  .footer-base { flex-direction: column; gap: .35rem; }
}

/* ==========================================================================
   Subscription site: header actions, home areas, plan cards, interval toggle,
   features page, onboarding, demo request
   ========================================================================== */

/* Header: Sign in as a quiet link, demo and Start now as buttons */
.nav-signin { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; font-weight: 600; font-size: .94rem; color: var(--ink-3); text-decoration: none; border-radius: 999px; }
.nav-signin:hover { color: var(--accent-dark); background: var(--paper-2); }
.header-actions .btn-sm { min-height: 44px; }
@media (max-width: 1100px) and (min-width: 881px) { .nav-cta { display: none; } }
@media (max-width: 880px) { .nav-cta { display: none; } }

/* Home hero */
.hero-home { padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4.25rem); }
.hero-home h1 { font-size: clamp(2.45rem, 5.2vw, 4.15rem); max-width: 12ch; line-height: 1.02; }
.hero-home .hero-lede { font-size: clamp(1.06rem, 1.45vw, 1.24rem); max-width: 44ch; }
.hero-home .hero-copy > * { animation: rise .7s var(--ease) both; }
.hero-home .hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-home .hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-home .hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-home .hero-copy > :nth-child(5) { animation-delay: .24s; }
.hero-home .hero-media { animation: rise .9s .2s var(--ease) both; }

/* Command Center illustration, upgraded */
.app-mock { position: relative; }
.mock-label { display: inline-flex; align-items: center; gap: .4rem; margin: 0 0 .6rem; padding: .3rem .65rem; border-radius: 999px; background: var(--zest-soft); color: var(--ink); font-size: .62rem; font-weight: 600; }
.mock-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-dark); }
.mock-side li { line-height: 1.25; }
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .55rem; }
.mock-top .mock-h { margin: 0; }
.mock-chip { font-size: .55rem; padding: .2rem .45rem; border-radius: 999px; background: var(--paper-2); color: var(--muted); white-space: nowrap; }
.mock-kpis-4 { margin-bottom: .8rem; }
.mock-h-sm { font-size: .82rem; margin-bottom: .45rem; }
.mock-split { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.mock-bars { gap: .45rem; }
.mock-bars li { grid-template-columns: 4.4rem minmax(0, 1fr) 2.3rem; font-size: .7rem; }
@media (min-width: 1140px), (max-width: 900px) and (min-width: 600px) { .mock-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* Eight areas (bento) */
.areas { background: var(--card); }
.area-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: .8rem; counter-reset: none; }
.area a {
  height: 100%; display: flex; flex-direction: column; gap: .35rem; padding: 1.2rem 1.2rem 1.1rem; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.area a:hover { color: var(--ink); transform: translateY(-3px); border-color: var(--accent-soft); box-shadow: var(--shadow-card); background: #fff; }
.area-n { color: var(--accent-dark); font-weight: 600; }
.area h3 { font-size: 1.16rem; margin: .45rem 0 .1rem; }
.area p { margin: 0; font-size: .93rem; line-height: 1.45; color: var(--ink-3); }
.area-mods { margin-top: auto; padding-top: .8rem; color: var(--muted); font-size: .62rem; display: inline-flex; align-items: center; gap: .4rem; }
.area-mods::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); }
.area-1 { grid-column: span 2; grid-row: span 2; }
.area-1 a { background: radial-gradient(90% 90% at 100% 0%, #6e3412 0%, var(--ink) 62%); color: var(--paper); border-color: transparent; padding: 1.6rem; }
.area-1 a:hover { color: var(--paper); background: radial-gradient(90% 90% at 100% 0%, #7a3a12 0%, var(--ink) 62%); }
.area-1 h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 12ch; }
.area-1 p { color: var(--on-dark); font-size: 1rem; max-width: 36ch; }
.area-1 .area-n { color: var(--accent-soft); }
.area-1 .area-mods { color: var(--on-dark-2); }
.area-5 { grid-column: span 2; }
@media (max-width: 1000px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .area-1 { grid-row: auto; } }
@media (max-width: 600px) { .area-grid { grid-template-columns: 1fr; gap: .6rem; } .area-1, .area-5 { grid-column: auto; } .area-1 a { padding: 1.3rem; } }

/* Plan tags (Professional and up, Multi-Location) */
.ftag { display: inline-block; margin-left: .45rem; padding: .16rem .45rem; border-radius: 999px; font: 600 .6rem/1.3 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; vertical-align: .12em; white-space: nowrap; background: var(--accent-tint); color: var(--accent-dark); }
.ftag-cross_location { background: #e3e7ef; color: #34405a; }
.t3 .ftag { background: rgba(242, 192, 142, .14); color: var(--zest-soft); }
.slide-mods span b { font-weight: 600; color: var(--zest-soft); margin-left: .25rem; }

/* Tour: jump to an area */
.show-groups { display: flex; flex-wrap: wrap; gap: .4rem; max-width: 640px; justify-content: flex-end; }
.show-groups[hidden] { display: none; }
.show-group {
  min-height: 44px; padding: .5rem .9rem; cursor: pointer; border-radius: 999px; font: 600 .84rem/1.1 var(--f-body);
  color: var(--on-dark); background: rgba(255, 255, 255, .04); border: 1px solid var(--rule-dark); transition: background .2s, color .2s, border-color .2s;
}
.show-group:hover { border-color: var(--accent-soft); color: #fff; }
.show-group.is-current { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--ink); }
@media (max-width: 760px) {
  .show-groups { flex-wrap: nowrap; overflow-x: auto; max-width: none; width: calc(100% + 2 * var(--gutter)); justify-content: flex-start; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) .3rem; scrollbar-width: none; }
  .show-groups::-webkit-scrollbar { display: none; }
  .show-group { flex: none; }
}

/* Onboarding */
.onboard { background: var(--paper); border-top: 1px solid var(--rule); }
.ob-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.ob-steps li { padding: 1.3rem 1.25rem; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.ob-steps .step-n { margin-bottom: .9rem; }
.ob-steps h3 { font-size: 1.1rem; margin: 0 0 .4rem; }
.ob-steps p { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--ink-3); }
.ob-steps li:last-child { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.ob-steps li:last-child p { color: var(--on-dark); }
.ob-steps li:last-child .step-n { background: rgba(234, 166, 110, .16); color: var(--accent-soft); }
.ob-note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.1rem 0 0; font-size: .95rem; color: var(--ink-3); }
.ob-note .ic { color: var(--accent); margin-top: .25em; }
@media (max-width: 1000px) { .ob-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ob-steps { grid-template-columns: 1fr; } }

/* Monthly / annual toggle (CSS only) */
.iv { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.iv-switch { justify-self: center; display: inline-flex; gap: 2px; padding: 4px; margin: 0 0 1.6rem; background: #fff; border: 1px solid var(--rule); border-radius: 999px; box-shadow: var(--shadow-card); }
.iv-opt { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--ink-3); transition: background .2s, color .2s; }
.iv-opt:hover { color: var(--ink); }
.iv-save { font: 600 .62rem/1 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; padding: .3rem .45rem; border-radius: 999px; background: var(--zest-tint); color: #93400f; }
.iv-in-month:checked ~ .iv-switch .iv-opt-month, .iv-in-year:checked ~ .iv-switch .iv-opt-year { background: var(--ink); color: #fff; }
.iv-in-year:checked ~ .iv-switch .iv-save { background: var(--zest-soft); color: var(--ink); }
.iv-in-month:focus-visible ~ .iv-switch .iv-opt-month, .iv-in-year:focus-visible ~ .iv-switch .iv-opt-year { outline: 3px solid var(--accent); outline-offset: 2px; }
.iv .iv-year { display: none; }
.iv-in-year:checked ~ .pkg-grid .iv-year { display: block; }
.iv-in-year:checked ~ .pkg-grid .iv-month { display: none; }

/* Subscription plan cards */
.pc .pkg-head { flex-wrap: wrap; align-items: center; margin-bottom: .35rem; }
.pc .pkg-name { margin: 0; }
.pc .pkg-flag { font-size: .7rem; }
.pc .pkg-for { margin-bottom: 1.1rem; }
.pc-price { margin-bottom: 1.2rem; }
.pc-amount { display: flex; align-items: flex-end; gap: .65rem; margin: 0 0 .35rem; }
.pc-per { font-size: .8rem; line-height: 1.25; color: var(--muted); padding-bottom: .3rem; }
.pc-sub { font-size: .86rem; color: var(--muted); margin: 0 0 1rem; min-height: 1.4em; }
.pc-save { color: var(--sage); font-weight: 700; }
.pc-limits { list-style: none; margin: 0 0 1.1rem; padding: .85rem 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pc-limits li { display: grid; gap: .2rem; padding: 0 .5rem; }
.pc-limits li:first-child { padding-left: 0; }
.pc-limits li + li { border-left: 1px solid var(--rule); }
.pc-limits strong { font: 800 1.45rem/1 var(--f-display); letter-spacing: -.03em; }
.pc-limits span { font: 600 .6rem/1.2 var(--f-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.pc-summary { margin: 0; font-size: .92rem; line-height: 1.45; color: var(--ink-3); }
.pkg-featured .pc-per, .pkg-featured .pc-sub, .pkg-featured .pc-limits span { color: var(--on-dark-2); }
.pkg-featured .pc-limits, .pkg-featured .pc-limits li + li { border-color: var(--rule-dark); }
.pkg-featured .pc-save { color: var(--zest-soft); }
.pkg-featured .pc-summary { color: var(--on-dark); }
.pkg-featured .pkg-flag { background: var(--zest-soft); color: var(--ink); }
@media (min-width: 901px) { .pc .pkg-for { min-height: 2.9em; } }

/* Pricing: every plan includes, plan table */
.incl { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.incl-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.incl-wrap .hs-sub { margin-top: .75rem; }
.incl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 1.5rem; }
.incl-grid li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; line-height: 1.4; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
.incl-grid .ic { flex: none; width: 1.2rem; height: 1.2rem; padding: 3px; margin-top: .05rem; border-radius: 50%; color: #fff; background: var(--accent); }
@media (max-width: 860px) { .incl-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .incl-grid { grid-template-columns: 1fr; } }
.plan-table { min-width: 640px; }
.plan-table thead th { font: 700 1.02rem/1.2 var(--f-display); }
.plan-table th:not(:first-child), .plan-table td { text-align: center; }
.plan-table tbody th { width: 34%; }
.plan-table tbody th small { display: block; margin-top: .2rem; font-size: .8rem; font-weight: 400; color: var(--muted); line-height: 1.35; }
.plan-table td.yes .ic { width: 1.3rem; height: 1.3rem; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; }
.plan-table-cta td, .plan-table-cta th { border-bottom: 0; }
.billing-faq { background: var(--card); }
.billing-faq .faq summary { font-size: 1.05rem; min-height: 44px; }

/* Testimonials (rendered only when real, approved quotes exist) */
.quotes { background: var(--card); }
.quote-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.quote { margin: 0; height: 100%; display: flex; flex-direction: column; padding: 1.4rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.quote blockquote { margin: 0 0 1rem; font: 500 1.08rem/1.5 var(--f-body); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: auto; display: grid; gap: .1rem; font-size: .9rem; }
.quote figcaption span { color: var(--muted); }

/* Features page */
.feat-jump { padding-top: 1.2rem; padding-bottom: .4rem; }
.feat-jump ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.feat-jump a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem .9rem; border: 1px solid var(--rule); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.feat-jump a .mono { color: var(--accent-dark); font-size: .62rem; }
.feat-jump a:hover { border-color: var(--accent); }
@media (max-width: 760px) {
  .feat-jump ol { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) .4rem; scrollbar-width: none; }
  .feat-jump ol::-webkit-scrollbar { display: none; }
  .feat-jump li { flex: none; }
}
.feat { padding: clamp(2.5rem, 6vw, 4.5rem) 0; scroll-margin-top: 70px; border-bottom: 1px solid var(--rule); }
.feat-alt { background: var(--paper); }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.feat-grid-solo { grid-template-columns: minmax(0, 1fr); }
.feat-alt .feat-media { order: -1; }
.feat-n { color: var(--accent-dark); font-weight: 600; margin: 0 0 .6rem; }
.feat h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: .35em; }
.feat-intro { font-size: 1.08rem; color: var(--ink-3); max-width: 50ch; }
.feat-mods { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0 1.5rem; }
.feat-mod { display: grid; gap: .15rem; padding: .75rem 0; border-top: 1px solid var(--rule); }
.feat-mod-name { font-weight: 700; font-size: .98rem; }
.feat-mod-line { font-size: .9rem; line-height: 1.45; color: var(--ink-3); }
.feat-media { margin: 0; position: sticky; top: 90px; }
.feat-media .tw { box-shadow: var(--shadow-pop); }
.feat-media figcaption { margin-top: .7rem; color: var(--muted); text-transform: none; letter-spacing: .02em; }
.feat-all { background: var(--card); }
.feat-all .incl-grid { margin-bottom: 1.8rem; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr; } .feat-alt .feat-media { order: 0; } .feat-media { position: static; } }

/* Demo request */
.demo-req { background: var(--paper); border-top: 1px solid var(--rule); scroll-margin-top: 70px; }
.req-side .hs-sub { margin: .75rem 0 1.25rem; }
.req-list { margin-bottom: 1rem; }

@media (max-width: 560px) {
  .iv-opt { padding: .5rem .9rem; font-size: .9rem; }
  .pc-limits strong { font-size: 1.25rem; }
  .hero-home h1 { font-size: 2.35rem; }
}

/* Admin: sales discovery */
.sales-table td { min-width: 9rem; }
.sales-table td:first-child { min-width: 12rem; }
.sales-table form { margin: 0 0 .4rem; }
.sales-sources { font-size: .85rem; margin: 0 0 .3rem; }
.sales-sources li { padding: 0; border: 0; background: none; }
.sales-score { font: 700 1.3rem/1 var(--f-display); }
.admin details summary { cursor: pointer; }

/* Landing page: restaurant opening and closing checklists */
.ck-hero h1 { max-width: 20ch; }
.ck-cta { margin-top: 1.6rem; }
.ck-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.ck-two h2 { max-width: 22ch; }
.ck-two p { color: var(--ink-3); max-width: 60ch; }
.ck-shift, .ck-example { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.ck-steps { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.ck-steps li { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 1.1rem 1.15rem 1.2rem; }
.ck-steps .step-n { margin-bottom: .8rem; }
.ck-steps h3 { font-size: 1.05rem; margin: 0 0 .4rem; }
.ck-steps p { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--ink-3); }
.ck-sees { margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 2rem; }
.ck-sees div { border-top: 1px solid var(--rule); padding: .9rem 0; }
.ck-sees dt { font-weight: 700; margin-bottom: .25rem; }
.ck-sees dd { margin: 0; color: var(--ink-3); font-size: .95rem; line-height: 1.5; }
.ck-ex-lede { color: var(--ink-3); max-width: 62ch; margin-bottom: 1.6rem; }
.ck-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
.ck-card { margin: 0; background: #fff; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px -32px rgba(0,0,0,.45); }
.ck-card figcaption { padding: .7rem 1rem .9rem; color: var(--muted); border-top: 1px solid var(--rule); background: #fdfbf7; text-transform: none; letter-spacing: .02em; }
.ck-head { display: flex; justify-content: space-between; align-items: flex-end; gap: .75rem; flex-wrap: wrap; padding: 1rem 1rem .75rem; border-bottom: 1px solid var(--rule); }
.ck-head h3 { margin: 0; font-size: 1.2rem; }
.ck-kind { margin: 0 0 .2rem; font-size: .7rem; color: var(--accent-dark); }
.ck-count { margin: 0; font-size: .7rem; color: var(--muted); }
.ck-items { list-style: none; margin: 0; padding: .25rem 0; }
.ck-items li { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .7rem; padding: .6rem 1rem; border-bottom: 1px solid var(--rule); }
.ck-items li:last-child { border-bottom: 0; }
.ck-box { width: 1.05rem; height: 1.05rem; margin-top: .15rem; border: 1.5px solid var(--rule-dark); border-radius: 4px; background: #fff; }
.ck-task { margin: 0; font-weight: 600; font-size: .93rem; line-height: 1.4; }
.ck-std { margin: .15rem 0 0; font-size: .85rem; line-height: 1.45; color: var(--ink-3); }
.ck-crit { display: inline-block; vertical-align: middle; font-size: .58rem; padding: .15rem .4rem; border-radius: 3px; background: var(--amber-tint); color: #6b4a07; font-weight: 600; }
.ck-after { margin-top: 2.25rem; max-width: 640px; }
.ck-after p { color: var(--ink-3); }
.feat-more { margin: 1.1rem 0 0; font-weight: 600; }
.feat-more a { color: var(--accent-dark); }
@media (max-width: 900px) { .ck-two, .ck-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ck-cta .btn, .ck-after .btn { width: 100%; justify-content: center; } }

/* Live Discovery (admin) */
.sales-live { display: grid; gap: 1rem; margin: 1.25rem 0; }
.sales-live-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.sales-live .stat-row { margin: 0; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sales-live .stat strong { font-size: 1.5rem; }
.sales-detail { margin-top: .4rem; font-size: .85rem; max-width: 32rem; }
.sales-detail summary { cursor: pointer; color: var(--accent); }
.sales-dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem .75rem; margin: .5rem 0; }
.sales-dl dt { font-weight: 600; }
.sales-dl dd { margin: 0; }
