/* Save Point Commerce website styles. Colors and fonts are set once here (the :root block). */
:root {
  --brand: #1d4ed8;          /* main color: buttons, links */
  --brand-dark: #1e3a8a;
  --accent: #f59e0b;         /* highlight color */
  --ink: #0f172a;            /* text */
  --muted: #475569;          /* secondary text */
  --line: #e2e8f0;           /* borders */
  --bg: #ffffff;
  --bg-soft: #f8fafc;        /* alternate section background */
  --radius: 12px;
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
.section.soft { background: var(--bg-soft); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); } .small { font-size: .9rem; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* ---------- draft banner + placeholders (remove the banner when everything is final) ---------- */
.draft-banner { background: #fef3c7; color: #78350f; text-align: center; font-size: .85rem; padding: 6px 16px; }
.tbd { border-bottom: 2px dashed var(--accent); }
.placeholder { border: 2px dashed #94a3b8; border-radius: var(--radius); padding: 20px; color: var(--muted);
               background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f8fafc 10px, #f8fafc 20px); }
.placeholder strong { color: var(--ink); }

/* ---------- header / nav ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo img { display: block; flex: none; }
.nav-links { display: flex; gap: 24px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; padding: 9px 16px; }
.menu { display: none; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; right: 0;
                           top: 48px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
                           min-width: 220px; box-shadow: 0 10px 30px rgba(15,23,42,.12); overflow: hidden; }
  .menu[open] .nav-links a { display: block; padding: 12px 16px; border-bottom: 1px solid var(--line); }
}

/* ---------- buttons ---------- */
.btn { display: inline-block; background: var(--brand); color: #fff; padding: 13px 22px; border-radius: 10px; font-weight: 600;
       text-decoration: none; border: 2px solid var(--brand); cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn.secondary { background: transparent; color: var(--brand); }
.btn.secondary:hover { background: #eff6ff; color: var(--brand-dark); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.center .btn-row { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: 80px 0 64px; background: radial-gradient(1200px 400px at 80% -10%, #dbeafe 0, transparent 60%), #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--brand); }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); }
.hero-points li::before { content: "✓ "; color: var(--brand); font-weight: 700; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.card h3 { margin-top: 0; }
.card ul { padding-left: 1.1em; margin: 0; } .card li { margin-bottom: .35em; }
.icon { width: 44px; height: 44px; border-radius: 10px; background: #eff6ff; display: grid; place-items: center;
        font-size: 1.4rem; margin-bottom: 12px; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; margin-bottom: 22px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
                    background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ---------- pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: 0 12px 30px rgba(29,78,216,.12); }
.price { font-size: 2rem; font-weight: 800; margin: 8px 0 0; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-note { color: var(--muted); font-size: .92rem; margin-bottom: 16px; }
.price-card .btn { margin-top: auto; text-align: center; }
.tag { display: inline-block; background: #eff6ff; color: var(--brand); font-size: .75rem; font-weight: 700; padding: 3px 10px;
       border-radius: 20px; text-transform: uppercase; letter-spacing: .04em; }
table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.compare th, table.compare td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.table-wrap { overflow-x: auto; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- forms ---------- */
form.audit { display: grid; gap: 16px; }
.field label, fieldset legend { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type=text], .field input[type=email], .field input[type=url], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid #bfdbfe; border-color: var(--brand); }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.hint { color: var(--muted); font-size: .88rem; margin-top: 4px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot for bots */
.alert { padding: 12px 16px; border-radius: 10px; background: #fee2e2; color: #7f1d1d; display: none; }
.alert.show { display: block; }

/* ---------- footer ---------- */
.site-footer { background: #0f172a; color: #cbd5e1; padding: 48px 0 28px; margin-top: 0; }
.site-footer a { color: #e2e8f0; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer .footer-title { color: #fff; margin: 0 0 10px; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: 6px; }
.disclaimer { border-top: 1px solid #1e293b; margin-top: 32px; padding-top: 16px; font-size: .82rem; color: #94a3b8; }

/* ---------- CTA band ---------- */
.cta { background: var(--brand); color: #fff; border-radius: 20px; padding: 48px 24px; text-align: center; }
.cta h2 { color: #fff; } .cta p { color: #dbeafe; }
.cta .btn { background: #fff; color: var(--brand); border-color: #fff; }
.cta .btn:hover { background: #eff6ff; }

/* Utilities: replace inline style="" attributes, which the CSP (style-src 'self' in _headers) blocks.
   !important matches the priority the inline styles had over component rules. */
.u-align-start { align-items: start !important; }
.u-align-center { align-items: center !important; }
.u-gap-14 { gap: 14px !important; }
.u-fw-normal { font-weight: 400 !important; }
.u-mt-12 { margin-top: 12px !important; }
.u-mt-20 { margin-top: 20px !important; }
.u-mt-24 { margin-top: 24px !important; }
.u-mt-32 { margin-top: 32px !important; }
.u-mb-24 { margin-bottom: 24px !important; }
.u-max-720 { max-width: 720px !important; }
.u-max-820 { max-width: 820px !important; }
.u-narrow-640 { max-width: 640px !important; margin: 20px auto 0 !important; }
.u-center-mb-16 { margin: 0 auto 16px !important; }
