/* litpeer.com — matches the look of the former Elementor site:
   Roboto, blue #1470AF headings/buttons, slate body text, warm yellow hero. */

:root {
  --blue: #1470af;
  --blue-dark: #0f5a8c;
  --ink: #1e293b;
  --slate: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --paper: #ffffff;
  --paper-soft: #f0f5fa;
  --sun: #f7d56a;
  --sun-soft: #fbe7a6;
  --radius: 16px;
  --pill: 40px;
  --max: 1200px;
  --gutter: 16px;
  /* iPhone notch / Android gesture bar */
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
body {
  margin: 0;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: Roboto, sans-serif; color: var(--blue); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 4.6vw, 56px); font-weight: 800; letter-spacing: -1.2px; color: var(--ink); }
h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -.6px; color: var(--ink); }
h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.section-head { max-width: 640px; margin: 0 0 8px; }
.section-head p { color: var(--muted); font-size: 18px; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: calc(var(--gutter) + var(--safe-l)); padding-right: calc(var(--gutter) + var(--safe-r)); }
body { overflow-x: hidden; }
main { overflow-x: clip; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff !important;
  font-weight: 500;
  font-size: 18px;
  padding: 16px 40px;
  border-radius: var(--pill);
  border: 0;
  cursor: pointer;
  text-align: center;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }
.btn { min-height: 48px; line-height: 1.2; }
.btn-small { padding: 12px 22px; font-size: 16px; min-height: 44px; }
@media (max-width: 480px) { .hero-copy .btn, .section-blue .btn, .form .btn { width: 100%; max-width: 360px; } }
.btn-outline { background: transparent; color: var(--blue) !important; border: 2px solid var(--blue); padding-top: 14px; padding-bottom: 14px; }
.btn-outline:hover { background: var(--blue); color: #fff !important; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { font-size: 30px; font-weight: 700; color: var(--blue); letter-spacing: -.6px; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand:hover .brand-name { color: var(--blue-dark); }
.brand-mark { width: 1.2em; height: 1.2em; padding: .22em; box-sizing: border-box; border-radius: .34em; background: var(--blue); fill: #fff; flex: none; transition: background .15s; }
.brand:hover .brand-mark { background: var(--blue-dark); }
.brand-name { transition: color .15s; }
.brand-small { font-size: 24px; }
.footer-brand .brand-mark { background: var(--sun); fill: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: var(--ink); font-weight: 400; font-size: 17px; }
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 500; }
.site-nav a:hover { text-decoration: none; color: var(--blue); }
.site-nav .btn { color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 8px; background: #eef2f6; cursor: pointer; padding: 12px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; background: var(--ink); border-radius: 2px; }
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; border-bottom: 0; }
  .brand { font-size: 26px; }
  .header-inner { min-height: 64px; }
}
@media (max-width: 360px) { .brand { font-size: 23px; } body { font-size: 17px; } }

/* Sections */
section { padding: 64px 0; }
@media (max-width: 600px) { section { padding: 44px 0; } h1 { font-size: 32px; } h2 { font-size: 26px; } .lead { font-size: 18px; } }
.section-soft { background: var(--paper-soft); }
.section-blue { background: var(--blue); color: #fff; }
.section-blue h2, .section-blue h3, .section-blue p, .section-blue .lead { color: #fff; }
.section-blue .btn { background: #fff; color: var(--blue) !important; }
.section-blue .btn:hover { background: var(--sun-soft); }
.center { text-align: center; }
.lead { font-size: 19px; color: var(--slate); }
.lead, p { max-width: 62ch; }
.center .lead, .center p { margin-left: auto; margin-right: auto; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

.hero {
  background: linear-gradient(180deg, #fff4cf 0%, var(--sun-soft) 100%);
  padding: 72px 0 0;
  border-bottom: 1px solid #f3e2a6;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy { text-align: left; padding-bottom: 72px; }
.hero-copy h1 { margin-bottom: 18px; max-width: 16ch; }
.hero-copy .lead { margin-bottom: 28px; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
.hero-art { align-self: end; }
.hero-art img { margin: 0 auto; max-width: 560px; width: 100%; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } .hero { padding-top: 44px; } .hero-copy { text-align: center; padding-bottom: 8px; } .hero-copy h1, .hero-copy .lead { margin-left: auto; margin-right: auto; max-width: none; } .hero-actions { justify-content: center; } .hero-art img { max-width: 420px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; gap: 16px; } .feature { padding: 22px 20px; } }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--paper-soft); display: grid; place-items: center; margin-bottom: 16px; font-size: 22px; }
.feature h3 { margin-bottom: .4em; }
.feature p { margin: 0; font-size: 16px; color: var(--slate); }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 600; display: grid; place-items: center; }
.steps b { color: var(--ink); font-weight: 600; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band .lead { margin: 0; }
@media (max-width: 760px) { .cta-band { flex-direction: column; align-items: flex-start; } }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; display: grid; place-items: center; }
.checklist b { color: var(--ink); font-weight: 500; }

/* Forms */
.form { display: grid; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(30,41,59,.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } .form { padding: 20px 16px; } }
label { display: block; font-weight: 500; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
input, textarea { width: 100%; font: inherit; font-size: 16px; min-height: 48px; padding: 12px 14px; -webkit-appearance: none; appearance: none; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
.form small { color: var(--muted); font-size: 14px; }

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; }
.legal h1 { margin-bottom: .2em; }
.legal .updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.legal-links { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.legal h2 { font-size: 24px; font-weight: 700; margin-top: 1.6em; }
.legal h3 { font-size: 19px; font-weight: 500; color: var(--ink); margin-top: 1.2em; }
.legal p, .legal li { font-size: 17px; overflow-wrap: anywhere; }
.legal code { overflow-wrap: anywhere; }
.legal ul { padding-left: 22px; }
.placeholder { border: 2px dashed #f59e0b; background: #fffbeb; padding: 16px 20px; border-radius: 12px; color: #92400e; }

/* Footer */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 48px 0 0; margin-top: 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin: 8px 0 0; font-size: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #e2e8f0; font-size: 16px; padding: 6px 0; min-height: 44px; display: flex; align-items: center; }
.footer-links a:hover { color: var(--sun); text-decoration: none; }
.footer-copy { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: calc(22px + var(--safe-b)); font-size: 14px; color: #94a3b8; text-align: center; }
