/* ==========================================================================
   mrandmrspainting.com — shared stylesheet (index.html + privacy.html)
   2257 Stroke of Compliance v1.2.8 · Mr. & Mrs. Painting
   Zero external fonts / CDNs / trackers. System font stack only.
   ========================================================================== */

:root {
  --bg: #0b1120;
  --bg-alt: #0f172a;
  --surface: #131c31;
  --surface-2: #18233c;
  --line: rgba(148, 163, 184, 0.16);
  --line-strong: rgba(148, 163, 184, 0.28);
  --ink: #f1f5f9;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --pink: #f472b6;
  --pink-strong: #ec4899;
  --gold: #fbbf24;
  --teal: #2dd4bf;
  --radius: 16px;
  --radius-lg: 22px;
  --wrap: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #5eead4; }
b, strong { color: var(--ink); font-weight: 650; }
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, Menlo, monospace;
  font-size: 0.88em;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1em 0.4em;
  color: var(--ink-soft);
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--gold); color: #111827; padding: 8px 14px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 17, 32, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 16px;
  letter-spacing: -0.01em; white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #fff; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color 0.15s ease;
}
.nav a:not(.btn):hover { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 650; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--pink-strong); color: #fff; }
.btn-primary:hover { background: #db2777; color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: rgba(148, 163, 184, 0.1); color: var(--ink); border-color: rgba(148, 163, 184, 0.45); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Generic type helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 104px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); letter-spacing: -0.035em; margin-bottom: 18px; }
.hero h1 .ver {
  display: inline-block; vertical-align: middle;
  font-size: 0.28em; letter-spacing: 0.02em; font-weight: 650;
  color: var(--teal); border: 1px solid rgba(45, 212, 191, 0.4);
  border-radius: 999px; padding: 4px 10px; margin-left: 6px; transform: translateY(-0.4em);
}
.slogan { font-size: clamp(18px, 2vw, 21px); margin-bottom: 18px; color: var(--ink-soft); }
.slogan em { font-family: var(--serif); font-style: italic; color: var(--gold); }
.slogan span { color: var(--pink); font-weight: 600; }
.hero .lead { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero .note { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 0; padding: 0; list-style: none; }
.chips li {
  font-size: 14px; color: var(--ink-soft);
  padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(148, 163, 184, 0.05);
}
.chips li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 8px; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 6%;
  background: radial-gradient(closest-side, rgba(236, 72, 153, 0.22), rgba(45, 212, 191, 0.08) 60%, transparent);
  filter: blur(20px); z-index: 0;
}
.hero-art img { position: relative; z-index: 1; width: 100%; max-width: 480px; }

/* ---------- Feature grid ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 18px;
  font-size: 20px; background: rgba(148, 163, 184, 0.1);
}
.feature:nth-child(3n+1) .feature-icon { background: rgba(236, 72, 153, 0.14); }
.feature:nth-child(3n+2) .feature-icon { background: rgba(251, 191, 36, 0.14); }
.feature:nth-child(3n+3) .feature-icon { background: rgba(45, 212, 191, 0.14); }
.feature h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.feature p { font-size: 15.5px; color: var(--muted); }

/* ---------- About ---------- */
.about {
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center;
}
.about-art {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; justify-content: center;
}
.about-art img { width: 100%; max-width: 340px; }
.about h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.about .tagline { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--gold); margin-bottom: 18px; }
.about p + p { margin-top: 14px; }
.about p { color: var(--ink-soft); }
.socials { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 26px 0 0; padding: 0; list-style: none; }
.socials a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
.socials a:hover { color: var(--ink); border-color: var(--pink); }

/* ---------- Pricing ---------- */
.price-card {
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 44px 40px; text-align: center;
  box-shadow: 0 30px 80px -40px rgba(236, 72, 153, 0.35);
}
.price-card .eyebrow { margin-bottom: 10px; }
.price { font-size: 60px; font-weight: 750; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.price small { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.price-sub { color: var(--muted); margin: 10px 0 30px; font-size: 15.5px; }
.checklist { list-style: none; padding: 0; margin: 0 auto 32px; text-align: left; max-width: 400px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-soft); font-size: 16px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 700;
}
.price-actions { display: grid; gap: 12px; }
.price-card .note { margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 72px auto 0; }
.faq h3 { font-size: 22px; margin-bottom: 18px; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-weight: 600; font-size: 16.5px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--muted);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 22px; font-size: 15.5px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 56px; color: var(--muted); font-size: 14px; }
.footer-in { display: grid; gap: 16px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a, .site-footer .fine a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover, .site-footer .fine a:hover { color: var(--ink); text-decoration: underline; }
.disclaimer { max-width: 80ch; line-height: 1.6; }
.disclaimer b { color: var(--ink-soft); }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- Legal / privacy page ---------- */
.legal { max-width: 760px; padding-top: 72px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 16px; }
.legal > .lead { margin-bottom: 44px; }
.legal .meta { font-size: 14px; color: var(--muted); margin-bottom: 40px; }
.legal-block { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-block h2 { font-size: 21px; margin-bottom: 12px; letter-spacing: -0.01em; }
.legal-block h3 { font-size: 17px; margin: 18px 0 8px; }
.legal-block p, .legal-block li { color: var(--ink-soft); font-size: 16px; }
.legal-block p + p { margin-top: 12px; }
.legal-block ul, .legal-block ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.legal .card,
.legal-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; margin-bottom: 16px;
}
/* Plain semantic privacy page (main.privacy with bare h1/h2/p/ul) */
.privacy { width: 100%; max-width: 760px; margin: 0 auto; padding: 72px 24px 88px; }
.privacy h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 20px; }
.privacy h1 + p { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); margin-bottom: 12px; }
.privacy h2 {
  font-size: 21px; letter-spacing: -0.01em;
  margin: 36px 0 12px; padding-top: 30px; border-top: 1px solid var(--line);
}
.privacy h3 { font-size: 17px; margin: 20px 0 8px; }
.privacy p, .privacy li { color: var(--ink-soft); font-size: 16px; }
.privacy p + p { margin-top: 12px; }
.privacy ul, .privacy ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.privacy .note {
  margin-top: 40px; padding: 16px 20px; font-size: 14.5px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.privacy > p:last-child { margin-top: 28px; }
@media (max-width: 600px) { .privacy { padding: 48px 20px 64px; } }

.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 15px; margin-bottom: 28px; }
.back-link:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}
@media (max-width: 820px) {
  .section { padding: 76px 0; }
  .hero { padding: 56px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 340px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .cta-row, .chips { justify-content: center; }
  .about { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .about-art { max-width: 380px; margin: 0 auto; }
  .socials { justify-content: center; }
  .nav a.hide-sm { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 24px 22px; }
  .cta-row .btn { width: 100%; }
  .price-card { padding: 36px 22px; }
  .price { font-size: 52px; }
  .section-head { margin-bottom: 36px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .legal { padding-top: 48px; }
}
@media (max-width: 380px) {
  .brand span { font-size: 15px; }
  .btn-sm { padding: 0 12px; }
}

/* ---------- Multi-page helpers ---------- */
.nav a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.page-hero { padding: 64px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); margin: 10px 0 14px; }
.page-hero .lead { max-width: 680px; margin: 0 auto; color: var(--ink-soft); }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.platforms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.step-num {
  width: 34px; height: 34px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(236, 72, 153, 0.18); color: var(--pink);
  border: 1px solid rgba(236, 72, 153, 0.35);
  font-weight: 700; font-size: 15px; margin-bottom: 12px;
}
.center-row { justify-content: center; margin-top: 32px; }
@media (max-width: 820px) {
  .steps-grid, .platforms-grid { grid-template-columns: 1fr; }
}
