/* NoSite Leads Helper — shared site styles.
   Brand tokens extracted from the logo; light + dark via prefers-color-scheme. */

:root {
  --brand-blue: #1A73E8;
  --brand-blue-bright: #3FA2F7;
  --brand-navy: #17293D;
  --brand-accent: #F85830;
  --brand-green: #84D26F;
  --tint-blue: #E8EDF5;
  --tint-blue-2: #C7D3E0;

  --bg: #ffffff;
  --bg-alt: #F6F8FB;
  --panel: #ffffff;
  --border: #C7D3E0;
  --border-soft: #DDE5EE;
  --heading: #17293D;
  --text: #2C3E54;
  --muted: #56687D;
  --link: #1A73E8;
  --accent-text: #C63D0F;   /* orange dark enough for small text on light */
  --accent-bg: #FDEAE4;
  --green-icon: #3D8F3F;    /* green dark enough for icons on light */
  --green-bg: #EAF6E5;
  --chip-bg: #E8EDF5;
  --cta-grad: linear-gradient(135deg, #1A73E8 0%, #3FA2F7 100%);
  --shadow-sm: 0 1px 2px rgba(23, 41, 61, 0.07);
  --shadow-md: 0 1px 2px rgba(23, 41, 61, 0.06), 0 6px 20px rgba(23, 41, 61, 0.09);
  --shadow-lg: 0 2px 6px rgba(23, 41, 61, 0.08), 0 18px 48px rgba(23, 41, 61, 0.14);
  --nav-bg: rgba(255, 255, 255, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1722;
    --bg-alt: #131E2C;
    --panel: #172335;
    --border: #2B3D55;
    --border-soft: #22334A;
    --heading: #EAF1F9;
    --text: #C7D4E3;
    --muted: #8FA3BA;
    --link: #3FA2F7;
    --accent-text: #FF8A65;
    --accent-bg: rgba(248, 88, 48, 0.14);
    --green-icon: #84D26F;
    --green-bg: rgba(132, 210, 111, 0.13);
    --chip-bg: #1D2C40;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.35), 0 18px 48px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(15, 23, 34, 0.88);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { color: var(--heading); line-height: 1.2; letter-spacing: -0.015em; }

a { color: var(--link); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--panel); color: var(--heading);
  padding: 10px 16px; border-radius: 0 0 8px 0; border: 1px solid var(--border);
}
.skip-link:focus { left: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px;
  border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--brand-blue-bright); outline-offset: 2px; }

.btn-primary { background: var(--cta-grad); color: #ffffff; }
.btn-primary:hover { filter: brightness(1.08); }

.btn-secondary { background: var(--chip-bg); color: var(--heading); border-color: var(--border-soft); }
.btn-secondary:hover { background: var(--tint-blue-2); }
@media (prefers-color-scheme: dark) {
  .btn-secondary:hover { background: #264059; }
}

.btn-inverse { background: #ffffff; color: var(--brand-blue); }
.btn-inverse:hover { filter: brightness(0.96); }

.btn-lg { min-height: 52px; padding: 12px 28px; font-size: 16px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 8px 0;
}
.logo-chip {
  display: inline-flex; align-items: center;
  padding: 4px 8px; border-radius: 8px; background: transparent;
}
.logo-chip img { display: block; height: 34px; width: auto; }
@media (prefers-color-scheme: dark) {
  .logo-chip { background: #ffffff; }
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 10px 2px;
}
.nav-links a:hover { color: var(--link); }
.nav .btn { min-height: 42px; padding: 8px 18px; }
@media (max-width: 719px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(1100px 480px at 50% -180px, var(--tint-blue) 0%, transparent 70%),
    var(--bg);
  padding: 72px 0 0;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) {
  .hero {
    background:
      radial-gradient(1100px 480px at 50% -180px, rgba(26, 115, 232, 0.18) 0%, transparent 70%),
      var(--bg);
  }
}
.hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; margin-bottom: 18px; }
.hero .accent { color: var(--brand-accent); white-space: nowrap; }
.hero .accent .slash { text-decoration: line-through; text-decoration-thickness: 3px; }
.hero-sub { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 18px; }
.trust-line {
  display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center;
  color: var(--muted); font-size: 14px; margin-bottom: 48px;
}
.trust-line span { display: inline-flex; align-items: center; gap: 6px; }
.trust-line svg { color: var(--green-icon); flex: none; }
.hero-shot {
  display: block; margin: 0 auto; max-width: 980px;
  border: 1px solid var(--border-soft); border-bottom: none;
  border-radius: 14px 14px 0 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-shot img { display: block; width: 100%; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 17px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--link); margin-bottom: 10px;
}

/* Problem → solution */
.problem { max-width: 720px; margin: 0 auto; text-align: center; }
.problem h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 800; margin-bottom: 16px; }
.problem p { font-size: 17px; color: var(--text); margin-bottom: 14px; }
.problem .hl {
  color: var(--accent-text); background: var(--accent-bg);
  padding: 0 5px; border-radius: 4px; font-weight: 600;
}

/* How it works */
.how-grid { display: grid; grid-template-columns: 1fr 380px; gap: 56px; align-items: center; }
.steps { display: grid; gap: 10px; counter-reset: step; }
.step { display: flex; gap: 18px; padding: 18px 0; }
.step + .step { border-top: 1px solid var(--border-soft); }
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cta-grad); color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 17px;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.how-shot {
  border: 1px solid var(--border-soft); border-radius: 14px;
  box-shadow: var(--shadow-md); overflow: hidden; background: var(--panel);
}
.how-shot img { display: block; width: 100%; }
.how-caption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (max-width: 899px) {
  .how-grid { grid-template-columns: 1fr; gap: 40px; }
  .how-shot { max-width: 380px; margin: 0 auto; }
}

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 899px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .features-grid { grid-template-columns: 1fr; } }
.feature {
  background: var(--panel); border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 24px; box-shadow: var(--shadow-sm);
}
.feature-icon {
  width: 42px; height: 42px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: var(--chip-bg); color: var(--link); margin-bottom: 14px;
}
.feature-icon.icon-accent { background: var(--accent-bg); color: var(--accent-text); }
.feature-icon.icon-green { background: var(--green-bg); color: var(--green-icon); }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Pricing */
.pricing-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px;
  justify-content: center; align-items: stretch;
}
@media (max-width: 767px) { .pricing-grid { grid-template-columns: minmax(0, 420px); } }
.plan {
  background: var(--panel); border: 1px solid var(--border-soft); border-radius: 12px;
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.plan-featured { border: 2px solid var(--brand-blue); box-shadow: var(--shadow-md); position: relative; }
.plan-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--cta-grad); color: #ffffff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 18px; margin-bottom: 4px; }
.plan-tag { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.plan-price .amount { font-size: 42px; font-weight: 800; color: var(--heading); letter-spacing: -0.02em; }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan li svg { flex: none; margin-top: 3px; color: var(--green-icon); }
.plan .btn { margin-top: auto; }
.pricing-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 26px; }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 2px; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16.5px; color: var(--heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 3px solid var(--brand-blue-bright); outline-offset: 2px; border-radius: 6px; }
.faq-item summary svg { flex: none; color: var(--muted); transition: transform 0.2s ease; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 2px 20px; color: var(--muted); font-size: 15px; max-width: 640px; }

/* Final CTA */
.cta-band { background: var(--cta-grad); padding: 72px 0; text-align: center; }
.cta-band h2 { color: #ffffff; font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 17px; max-width: 560px; margin: 0 auto 28px; }

/* Footer */
.footer { border-top: 1px solid var(--border-soft); background: var(--bg-alt); padding: 44px 0 36px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h3 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--text); text-decoration: none; font-size: 14.5px; padding: 2px 0; display: inline-block; }
.footer-col a:hover { color: var(--link); }
.footer-meta {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border-soft);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  color: var(--muted); font-size: 13.5px;
}

/* Explainer dialog */
.explainer {
  margin: auto; /* the * reset above removes the UA centering — restore it */
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--panel); color: var(--text);
  max-width: 430px; width: calc(100vw - 40px);
  padding: 28px; box-shadow: var(--shadow-lg);
}
.explainer::backdrop { background: rgba(10, 16, 25, 0.55); }
.explainer h2 { font-size: 20px; margin-bottom: 10px; }
.explainer p { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.explainer .dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* ---------- Legal / article pages ---------- */

.article { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
.article h1 { font-size: clamp(28px, 4.4vw, 38px); font-weight: 800; margin-bottom: 8px; }
.article .effective { color: var(--muted); font-size: 14px; margin-bottom: 36px; }
.article h2 { font-size: 21px; font-weight: 700; margin: 36px 0 12px; }
.article p, .article li { font-size: 15.5px; color: var(--text); }
.article p { margin-bottom: 14px; }
.article ul { margin: 0 0 14px 22px; display: grid; gap: 8px; }
.article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px; background: var(--chip-bg); border-radius: 5px; padding: 1px 6px;
}

/* ---------- Success page ---------- */

.success-wrap {
  min-height: calc(100vh - 65px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(900px 420px at 50% -160px, var(--tint-blue) 0%, transparent 70%),
    var(--bg);
}
@media (prefers-color-scheme: dark) {
  .success-wrap {
    background:
      radial-gradient(900px 420px at 50% -160px, rgba(26, 115, 232, 0.18) 0%, transparent 70%),
      var(--bg);
  }
}
.success-card {
  background: var(--panel); border: 1px solid var(--border-soft); border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 40px 34px; max-width: 480px; width: 100%; text-align: center;
}
.success-check {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-bg); color: var(--green-icon);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.success-card h1 { font-size: 24px; margin-bottom: 10px; }
.success-card > p { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.success-card ol { text-align: left; color: var(--muted); font-size: 15px; margin: 18px 0 0 22px; display: grid; gap: 8px; }
.success-card strong { color: var(--heading); }
.success-fineprint { font-size: 13px; margin-top: 18px; }

/* ---------- Small screens ---------- */

@media (max-width: 479px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero-ctas .btn { width: 100%; }
  .cta-band .btn { width: 100%; max-width: 340px; }
  .footer-links { gap: 28px; }
}
