/* Screenr marketing + legal — light theme */
:root {
  --bg: #ffffff;
  --bg-2: #f5f8fd;
  --card: #ffffff;
  --card-2: #f3f6fb;
  --border: #e4e9f2;
  --text: #0f1b2d;
  --muted: #5b6b82;
  --primary: #2563eb;
  --primary-2: #4f46e5;
  --accent: #0d9488;
  --danger: #dc2626;
  --radius: 16px;
  --max: 1120px;
  --shadow-sm: 0 1px 2px rgba(15,27,45,0.06), 0 1px 3px rgba(15,27,45,0.05);
  --shadow-md: 0 8px 24px rgba(15,27,45,0.08);
  --shadow-lg: 0 24px 60px rgba(37,99,235,0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1100px 520px at 78% -12%, rgba(37,99,235,0.10), transparent 60%),
    radial-gradient(800px 400px at 8% 4%, rgba(13,148,136,0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: saturate(150%) blur(12px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; font-size: 19px; color: var(--text); }
.brand .mark { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 12px; border: 0; cursor: pointer;
  box-shadow: 0 6px 18px rgba(37,99,235,0.28);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(37,99,235,0.36); }
.btn.ghost { background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }

/* Hero */
.hero { padding: 84px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(13,148,136,0.10); border: 1px solid rgba(13,148,136,0.22);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 18px; }
h1 .grad { background: linear-gradient(120deg, #2563eb, #4f46e5 55%, #0d9488); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 19px; color: var(--muted); max-width: 44ch; margin: 0 0 28px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.subtle { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* Phone mock (light) */
.phone {
  justify-self: center;
  width: 300px; max-width: 82vw; aspect-ratio: 9/19.5;
  border-radius: 34px; padding: 12px;
  background: linear-gradient(160deg, #ffffff, #eef2f9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.phone-screen {
  height: 100%; border-radius: 24px; background: linear-gradient(180deg, #ffffff, #f5f8fd);
  border: 1px solid var(--border);
  padding: 18px 16px; display: flex; flex-direction: column; gap: 11px; overflow: hidden;
}
.ps-head { color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.ps-name { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.ps-num { color: var(--muted); font-size: 13px; margin-top: -6px; }
.bubble { border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; font-size: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.bubble.ai { background: rgba(37,99,235,0.05); border-color: rgba(37,99,235,0.18); }
.bubble.caller { background: rgba(245,158,11,0.06); border-color: rgba(245,158,11,0.20); }
.bubble .who { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.bubble.ai .who { color: var(--primary); }
.bubble.caller .who { color: #b45309; }
.ps-input { margin-top: auto; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; align-items: center; background: #fff; }
.ps-send { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); flex-shrink: 0; }

/* Sections */
section { padding: 62px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.02em; margin: 0 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.step .n { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-2)); margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease; }
.feature:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.feature .ic { font-size: 22px; margin-bottom: 12px; }
.feature h3 { margin: 0 0 8px; font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0,360px)); gap: 20px; justify-content: center; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.plan.featured { border-color: var(--primary); box-shadow: var(--shadow-md); position: relative; }
.plan .tag { position: absolute; top: -12px; right: 20px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan h3 { margin: 0 0 6px; font-size: 20px; }
.price { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; }
.price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); font-size: 14.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details { border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin-bottom: 12px; background: var(--card); box-shadow: var(--shadow-sm); }
details summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--muted); font-size: 20px; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 0 0 16px; font-size: 15px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 30px; background: var(--bg-2); }
.foot-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.copyright { color: var(--muted); font-size: 13px; }

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 0 60px; }
.legal h1 { font-size: 34px; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.legal .note { background: rgba(220,38,38,0.05); border: 1px solid rgba(220,38,38,0.22); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: #b91c1c; margin: 22px 0; }
.legal h2 { font-size: 21px; margin: 34px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; margin: 20px 0 6px; }
.legal p, .legal li { color: #33425a; font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--primary); text-decoration: underline; }
.toc { background: var(--card-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 20px; margin: 20px 0 30px; }
.toc a { display: inline-block; color: var(--muted); font-size: 14px; margin: 4px 14px 4px 0; }
.toc a:hover { color: var(--primary); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps, .features { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
