/* Mercy Systems - AMCDT pages. Self-contained: no web fonts, no CDNs. Black and gold, matching mercysystems.com. */
:root {
  --bg: #0b0b0b;          /* black, as on mercysystems.com */
  --navy: #0b0b0b;
  --panel: #141414;
  --panel-2: #17140e;
  --line: #343027;
  --gold: #e6bd71;        /* gold, as on mercysystems.com */
  --gold-light: #f4dca5;
  --gold-dark: #b08a35;
  --silver: #cfcac0;
  --text: #e9e9e9;
  --muted: #b5b3ad;
  --danger: #ff8a80;
  --ok: #9be29b;
  --radius: 4px;
  --maxw: 1100px;
  --font: "Segoe UI", Arial, Helvetica, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; }
a { color: var(--gold-light); }
a:hover { color: #fff3c4; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #111; padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header / brand */
.site-header { border-bottom: 1px solid var(--line); background: #0b0b0bf5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--gold); border-radius: 9px;
  font: 800 26px/1 Georgia, "Times New Roman", serif; color: var(--gold);
  background: linear-gradient(180deg, #1b170f, var(--navy)); }
.brand-mark.has-img { border-color: transparent; background: none; color: transparent; }
.brand-mark img { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: contain; }
.brand-word { font-size: 22px; letter-spacing: 2px; line-height: 1; }
.brand-word .w-mercy { font-weight: 800; background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-word .w-systems { font-weight: 500; margin-left: 6px; background: linear-gradient(180deg, #f4f5f7, var(--silver) 55%, #8d9097); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .brand-word span { color: CanvasText; background: none; } }
.brand-text { display: inline-flex; flex-direction: column; gap: 5px; }
.brand-tag { font-size: 9px; letter-spacing: .29em; font-weight: 500; color: var(--muted); line-height: 1; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--silver); text-decoration: none; padding: 6px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-light); border-bottom: 2px solid var(--gold); }

/* Sections */
main { display: block; }
section { padding: 56px 0; border-bottom: 1px solid #1d1a14; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 14px; }
h1 { font-size: clamp(28px, 4.5vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 30px); color: var(--gold); }
h3 { font-size: 19px; color: var(--gold-light); }
.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.hero { padding: 72px 0 60px; background: radial-gradient(1200px 400px at 20% 0%, #1f1a10 0%, var(--bg) 60%); border-bottom: 1px solid #3c3121; }
.hero .product-name { color: var(--gold); letter-spacing: 1px; }
.hero .tagline { color: var(--silver); font-size: 18px; margin: -6px 0 18px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; align-items: center; }

/* Buttons */
.btn { display: inline-block; border: 2px solid var(--gold); background: linear-gradient(110deg, #d8ad60, #f4dba5); color: #18130a; font-weight: 700; font-size: 16px;
  padding: 12px 22px; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-family: inherit; line-height: 1.2; }
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: #18130a; }
.btn-outline { background: transparent; color: var(--gold-light); }
.btn-outline:hover { background: #1b170f; color: #fff3c4; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.badge { display: inline-block; font-size: 13px; padding: 2px 10px; border: 1px solid var(--gold-dark); border-radius: 999px; color: var(--gold-light); }

/* Steps, features */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: step; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #18130a; font-weight: 800; }
.features { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); list-style: none; padding: 0; margin: 0; }
.features li { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 16px 18px; }
.features strong { color: var(--gold-light); display: block; margin-bottom: 4px; }

/* Pricing */
.pricing { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-dark) inset; }
.price { font-size: 30px; font-weight: 800; color: #fff; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.card ul { margin: 0; padding-left: 20px; }
.card .total { color: var(--silver); }
.field { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.field label { font-weight: 600; }
input[type="number"], input[type="email"], input[type="text"] { background: #0e0e0d; border: 1px solid #5a503c; color: var(--text); border-radius: var(--radius);
  padding: 10px 12px; font: inherit; width: 100%; max-width: 360px; }
input[type="number"] { max-width: 120px; }
.agree { display: flex; gap: 12px; align-items: flex-start; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 18px 0; }
.agree input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-row label { display: flex; gap: 8px; align-items: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; cursor: pointer; }
.radio-row input { accent-color: var(--gold); }

/* Status, notices */
.status { min-height: 1.6em; margin: 8px 0; }
.status.error { color: var(--danger); }
.status.ok { color: var(--ok); }
.notice { background: var(--panel-2); border: 1px solid var(--line); border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: var(--radius); }
.disclaimer { background: #121110; border: 1px solid #3a3427; border-left: 4px solid var(--silver); padding: 16px 20px; border-radius: var(--radius); color: var(--silver); }

/* Code, keys */
pre, code, .key { font-family: var(--mono); }
pre { background: #0e0e0d; border: 1px solid #3a3427; border-radius: var(--radius); padding: 12px 14px; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
code { background: #1b170f; padding: 1px 6px; border-radius: 4px; }
pre code { background: none; padding: 0; }
.keys { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.keys li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; background: #0e0e0d; border: 1px solid var(--gold-dark); border-radius: var(--radius); padding: 10px 12px; }
.keys .key { color: var(--gold-light); font-size: 16px; word-break: break-all; flex: 1 1 260px; }
.copy-btn { padding: 6px 12px; font-size: 14px; }
.checksum { word-break: break-all; }
.agreement-text { max-height: 70vh; overflow: auto; font-size: 14px; line-height: 1.5; }

/* Footer */
.site-footer { padding: 32px 0 48px; color: var(--muted); font-size: 14px; background: #080808; border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; gap: 20px; justify-content: space-between; flex-wrap: wrap; }
.site-footer a { color: var(--silver); }

@media (max-width: 600px) {
  section { padding: 40px 0; }
  .brand-word { font-size: 18px; letter-spacing: 1px; }
  .brand-tag { font-size: 8px; }
  .nav { gap: 12px; font-size: 15px; }
  .btn { width: 100%; text-align: center; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.card .badge { align-self: flex-start; }
fieldset.plain { border: 0; padding: 0; margin: 0; }
.legend { font-weight: 600; margin-bottom: 8px; }
.narrow { max-width: 640px; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 16px; } .mt-l { margin-top: 36px; }
