/* ==========================================================================
   ShotPages — shotpages.com shared stylesheet
   Used by: index.html / checkout.html / activate.html / terms.html
   Visual language matches privacy.html (same tokens, same card language).
   No external fonts, no CDN, no framework — the site is a single static upload.
   ========================================================================== */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --accent: #2563eb;
  --accent-d: #1d4ed8;
  --accent-l: #eff6ff;
  --accent-line: #bfdbfe;
  --ok: #047857;
  --ok-bg: #ecfdf5;
  --ok-line: #a7f3d0;
  --warn: #b45309;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --card: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -12px rgba(15, 23, 42, .16);
  --maxw: 1060px;
  --narrow: 820px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: var(--narrow); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 7px; flex: none;
  background: linear-gradient(145deg, #3b82f6, #2563eb 55%, #1d4ed8);
  display: flex; align-items: center; justify-content: center;
}
.brand-mark span {
  display: block; width: 12px; height: 9px; border: 1.6px solid #fff;
  border-radius: 2px; border-top-width: 3px;
}
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  color: var(--ink-2); font-size: 14.5px; font-weight: 500;
  padding: 7px 11px; border-radius: 8px; white-space: nowrap;
}
.site-nav a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.site-nav a.nav-cta {
  background: var(--accent); color: #fff; margin-left: 6px; padding: 8px 15px;
}
.site-nav a.nav-cta:hover { background: var(--accent-d); }
@media (max-width: 720px) {
  .site-nav a.hide-sm { display: none; }
}

/* ---------- hero ---------- */

.hero {
  background:
    radial-gradient(900px 380px at 12% -12%, #dbeafe 0%, rgba(219, 234, 254, 0) 62%),
    radial-gradient(700px 340px at 96% 4%, #e0f2fe 0%, rgba(224, 242, 254, 0) 58%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 62px 0 58px;
}
.hero h1 {
  font-size: 42px; line-height: 1.16; letter-spacing: -.025em;
  margin: 0 0 16px; max-width: 17ch; font-weight: 750;
}
.hero .lede {
  font-size: 18px; color: var(--ink-2); max-width: 60ch; margin: 0 0 26px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; align-items: center; }
@media (max-width: 640px) {
  .hero { padding: 44px 0 42px; }
  .hero h1 { font-size: 31px; }
  .hero .lede { font-size: 16.5px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 15px; font-weight: 600;
  padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: background .13s, border-color .13s, transform .13s;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-d); }
.btn-primary:disabled { background: var(--muted-2); cursor: not-allowed; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-block { width: 100%; }

.trust {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px;
  font-size: 13.5px; color: var(--muted);
}
.trust span { display: flex; align-items: center; gap: 6px; }
.tick {
  width: 15px; height: 15px; flex: none; border-radius: 50%;
  background: var(--ok-bg); border: 1px solid var(--ok-line);
  position: relative;
}
.tick::after {
  content: ""; position: absolute; left: 4.2px; top: 1.6px;
  width: 5px; height: 8.5px; border-right: 1.6px solid var(--ok);
  border-bottom: 1.6px solid var(--ok); transform: rotate(40deg);
}

/* ---------- sections ---------- */

section { padding: 56px 0; }
section.tight { padding: 40px 0; }
.band { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h2.sec { font-size: 27px; letter-spacing: -.02em; margin: 0 0 10px; font-weight: 700; }
.sec-sub { color: var(--muted); margin: 0 0 30px; max-width: 66ch; font-size: 15.5px; }
@media (max-width: 640px) { h2.sec { font-size: 22px; } }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
}
.card h3 { font-size: 16px; margin: 0 0 7px; font-weight: 650; }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.card p + p { margin-top: 9px; }
.card .ico {
  width: 34px; height: 34px; border-radius: 9px; margin-bottom: 13px;
  background: var(--accent-l); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center;
}
.card .ico svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.card.key { background: var(--accent-l); border-color: var(--accent-line); }
.card.key b { color: var(--accent-d); }

/* feature list inside a card */
.flist { margin: 0; padding: 0; list-style: none; }
.flist li {
  position: relative; padding-left: 22px; margin: 7px 0;
  font-size: 14.5px; color: var(--ink-2);
}
.flist li::before {
  content: ""; position: absolute; left: 5px; top: 8.5px;
  width: 5px; height: 8.5px; border-right: 1.7px solid var(--accent);
  border-bottom: 1.7px solid var(--accent); transform: rotate(40deg);
}
.flist li.no::before {
  border: none; left: 8px; top: 13.5px; width: 7px; height: 1.7px;
  background: var(--muted-2); transform: none;
}

/* ---------- comparison table ---------- */

.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.cmp {
  width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
table.cmp th, table.cmp td {
  text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.cmp thead th {
  background: var(--bg-soft); font-weight: 650; font-size: 13px;
  letter-spacing: .03em; text-transform: uppercase; color: var(--muted);
}
table.cmp thead th:nth-child(2), table.cmp thead th:nth-child(3),
table.cmp td:nth-child(2), table.cmp td:nth-child(3) { text-align: center; width: 130px; }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp tr.grp td {
  background: #f1f5f9; font-weight: 650; font-size: 13px; color: var(--ink-2);
  letter-spacing: .02em; padding: 8px 14px;
}
table.cmp td.yes { color: var(--ok); font-weight: 600; }
table.cmp td.no { color: var(--muted-2); }
table.cmp tr.pro td:first-child { font-weight: 550; color: var(--ink); }
table.cmp .pill-pro {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: var(--accent); border-radius: 5px;
  padding: 1px 6px; margin-left: 7px; vertical-align: 1px; text-transform: uppercase;
}
.tbl-note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; }

/* ---------- pricing ---------- */

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 780px) { .price-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 24px;
}
.plan.featured {
  border: 2px solid var(--accent); box-shadow: var(--shadow);
  position: relative;
}
.plan-tag {
  position: absolute; top: -12px; left: 24px;
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.plan h3 { font-size: 17px; margin: 0 0 4px; }
.plan .who { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.plan .amount { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; }
.plan .amount .num { font-size: 38px; font-weight: 750; letter-spacing: -.03em; }
.plan .amount .per { color: var(--muted); font-size: 15px; }
.plan .bill-note { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.plan .flist { margin-bottom: 20px; }
.plan .flist li { color: var(--ink-2); }

/* ---------- FAQ ---------- */

details.faq {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 15px 18px; margin-bottom: 9px;
}
details.faq[open] { border-color: var(--line-2); }
details.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15px; list-style: none;
  display: flex; align-items: center; gap: 10px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::before {
  content: "+"; color: var(--accent); font-weight: 700; font-size: 17px;
  width: 15px; flex: none; line-height: 1;
}
details.faq[open] summary::before { content: "\2013"; }
details.faq .ans { color: var(--ink-2); font-size: 14.5px; margin-top: 10px; }
details.faq .ans p { margin: 0 0 8px; }
details.faq .ans p:last-child { margin-bottom: 0; }

/* ---------- forms (checkout / activate) ---------- */

.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px 26px; max-width: 470px; margin: 0 auto;
}
.form-card h1 { font-size: 23px; margin: 0 0 7px; letter-spacing: -.02em; }
.form-card .sub { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; }
label.fld { display: block; margin-bottom: 14px; }
label.fld > span {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 6px;
}
input[type=text], input[type=email] {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .13s, box-shadow .13s;
}
input[type=text]:focus, input[type=email]:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .13);
}
input::placeholder { color: var(--muted-2); }
input.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }

.msg { font-size: 14px; margin: 13px 0 0; padding: 10px 13px; border-radius: var(--radius-sm); display: none; }
.msg.show { display: block; }
.msg.ok { background: var(--ok-bg); border: 1px solid var(--ok-line); color: var(--ok); }
.msg.err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.msg.info { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink-2); }
.msg.warn { background: #fffbeb; border: 1px solid #fde68a; color: var(--warn); }

.price-row {
  display: flex; align-items: baseline; gap: 9px;
  padding-bottom: 17px; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.price-row .num { font-size: 33px; font-weight: 750; letter-spacing: -.03em; }
.price-row .per { color: var(--muted); font-size: 15px; }
.price-row .badge-term {
  margin-left: auto; font-size: 12px; font-weight: 600; color: var(--accent-d);
  background: var(--accent-l); border: 1px solid var(--accent-line);
  border-radius: 999px; padding: 2px 10px;
}

.fineprint { font-size: 12.8px; color: var(--muted); margin: 18px 0 0; line-height: 1.65; }
.fineprint a { color: var(--muted); text-decoration: underline; }

.steps { counter-reset: st; list-style: none; padding: 0; margin: 24px 0 0; }
.steps li {
  counter-increment: st; position: relative; padding-left: 34px;
  margin-bottom: 11px; font-size: 14.5px; color: var(--ink-2);
}
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-l); border: 1px solid var(--accent-line);
  color: var(--accent-d); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- legal / document pages ---------- */

.doc h2 {
  font-size: 18.5px; margin: 34px 0 12px; padding-bottom: 7px;
  border-bottom: 2px solid var(--line);
}
.doc h3 { font-size: 15.5px; margin: 20px 0 6px; }
.doc p, .doc li { color: var(--ink-2); font-size: 15px; }
.doc ul, .doc ol { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 5px 0; }
.doc .card p, .doc .card li { color: var(--ink-2); }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: #f1f5f9; font-weight: 600; }
.doc code {
  background: #f1f5f9; padding: 1px 5px; border-radius: 4px; font-size: 12.5px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.doc .note {
  border-left: 3px solid var(--accent); background: var(--bg-soft);
  padding: 10px 14px; margin: 12px 0; color: var(--ink-2); font-size: 14px;
}
.doc .lead { font-size: 15px; color: var(--muted); }
.doc-head { margin-bottom: 26px; }
.doc-head h1 { font-size: 27px; margin: 0 0 6px; letter-spacing: -.02em; }
.doc-head .sub { color: var(--muted); font-size: 13px; }
.badge {
  display: inline-block; background: var(--ok-bg); color: var(--ok);
  border: 1px solid var(--ok-line); border-radius: 999px;
  padding: 1px 10px; font-size: 12px; margin-left: 6px; vertical-align: 2px;
}
.toc { font-size: 14px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 36px 0 44px; margin-top: 12px;
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 28px 46px; }
.foot-col h4 {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); margin: 0 0 10px; font-weight: 650;
}
.foot-col a { display: block; color: var(--ink-2); font-size: 14px; margin-bottom: 7px; }
.foot-col a:hover { color: var(--accent); }
.foot-note {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px;
  align-items: center;
}
.foot-note .spacer { margin-left: auto; }

.muted { color: var(--muted); font-size: 13px; }
.center { text-align: center; }

/* ---------- 404 ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.callout p { margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.callout p:last-child { margin-bottom: 0; }
