/* Cadenta POS website: warm neutrals with one orange accent, light and dark. */
:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --sunken: #f3f1ee;
  --text: #1c1917;
  --muted: #57534e;
  --faint: #78716c;
  --border: #e7e5e4;
  --accent: #d95d17;
  --accent-ink: #ffffff;
  --accent-soft: #fdeee4;
  --ok: #15803d;
  --radius: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210;
    --surface: #1c1a17;
    --sunken: #23201c;
    --text: #f5f5f4;
    --muted: #b7b1ab;
    --faint: #8f8882;
    --border: #2f2b27;
    --accent: #f08a4b;
    --accent-ink: #1c1917;
    --accent-soft: #3a2416;
    --ok: #4ade80;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
img, svg { display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav a { text-decoration: none; }
@media (max-width: 760px) { .nav .hide-sm { display: none; } }

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 10px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); background: var(--surface); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* ---- Hero ---- */
.hero { padding: 88px 0 56px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; margin: 18px 0 18px; max-width: 14ch; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); max-width: 40ch; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-size: 14px; color: var(--faint); margin-top: 14px; }
.shot { margin: 48px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.25); background: var(--surface); }
.shot img { width: 100%; height: auto; }

/* Anchor links land below the sticky header. */
section[id], h2[id] { scroll-margin-top: 80px; }

/* ---- Sections ---- */
section { padding: 64px 0; }
.section-alt { background: var(--sunken); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-lead { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }
h3 { font-size: 19px; margin: 0 0 6px; letter-spacing: -0.01em; }

.pillars { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.pillar .icon { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft);
  color: var(--accent); margin-bottom: 16px; }
.pillar .icon svg { width: 22px; height: 22px; }
.pillar p { margin: 0; color: var(--muted); }

.features { display: grid; gap: 28px 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---- Pricing ---- */
.plans { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan .tag { font-size: 13px; font-weight: 600; color: var(--accent); }
.price { font-size: 42px; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price span { font-size: 16px; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 9px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d95d17' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.fee-note { margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--border);
  color: var(--muted); font-size: 16px; }
.fee-note strong { color: var(--text); }

/* ---- Story ---- */
.story { display: grid; gap: 32px; grid-template-columns: 1fr; max-width: 760px; }
.story p { color: var(--muted); margin: 0 0 16px; font-size: 18px; }
.story .sig { color: var(--text); font-weight: 600; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }

/* ---- Legal pages ---- */
.legal { max-width: 760px; padding: 56px 20px 72px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); max-width: none; }
.legal .updated { color: var(--faint); margin: 0 0 32px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .box { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin: 16px 0; }
.legal strong { color: var(--text); }
