@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0f1b2d;
  --ink-2: #1c2b40;
  --text: #16212f;
  --muted: #5b6878;
  --line: #e3e7ed;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --accent: #e8590c;
  --accent-dark: #c94a06;
  --accent-soft: #fff1e8;
  --blue: #1f6feb;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
[id] { scroll-margin-top: 80px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.brand::before {
  content: ""; width: 26px; height: 26px; border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, transparent 5px, #fff 5px, #fff 8px, transparent 8px),
    var(--accent);
}
header nav { display: flex; align-items: center; }
header nav a { margin-left: 26px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
header nav a:hover { color: var(--ink); }
header nav a.nav-cta {
  background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 10px; font-weight: 600;
}
header nav a.nav-cta:hover { background: var(--ink-2); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 16px;
  box-shadow: 0 6px 16px rgba(232, 89, 12, .25);
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-dark:hover { background: var(--ink-2); }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }
h1 { font-size: 54px; line-height: 1.07; letter-spacing: -0.035em; font-weight: 800; color: var(--ink); }
h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
h3 { font-size: 19px; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.lead { font-size: 20px; color: var(--muted); max-width: 560px; margin: 22px 0 32px; }
.sub { color: var(--muted); max-width: 620px; margin-bottom: 44px; font-size: 18px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent-dark);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px;
  letter-spacing: 0.02em; margin-bottom: 20px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 72px 0 80px; background: linear-gradient(180deg, #fff 0%, #fbf8f5 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.assurances { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; }
.assurances li { font-size: 15px; color: var(--muted); position: relative; padding-left: 22px; }
.assurances li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* Phone mockup */
.phone {
  width: 100%; max-width: 360px; margin: 0 auto;
  background: var(--ink); border-radius: 40px; padding: 12px;
  box-shadow: 0 30px 60px rgba(15, 27, 45, .25);
}
.screen { background: #fff; border-radius: 30px; overflow: hidden; }
.screen-top {
  text-align: center; padding: 18px 16px 12px; border-bottom: 1px solid var(--line);
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 6px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.screen-top strong { display: block; font-size: 14px; color: var(--ink); }
.screen-top span { font-size: 12px; color: var(--muted); }
.thread { padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; line-height: 1.4; }
.missed {
  align-self: center; font-size: 12px; color: #b42318; background: #fef3f2;
  padding: 5px 12px; border-radius: 999px; font-weight: 600;
}
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; }
.bubble.out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.bubble.in { align-self: flex-start; background: #eef0f3; color: var(--text); border-bottom-left-radius: 6px; }
.meta { font-size: 11.5px; color: var(--muted); }
.meta.right { align-self: flex-end; margin-top: -4px; }
.callback {
  margin-top: 6px; align-self: stretch; text-align: center; font-size: 13px; font-weight: 600;
  color: var(--ink); background: var(--accent-soft); border: 1px dashed #f5b48a;
  padding: 9px; border-radius: 12px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); font-size: 16px; }
.step {
  width: 36px; height: 36px; border-radius: 10px; margin-bottom: 18px;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}

/* Example math */
.dark { background: var(--ink); color: #fff; }
.dark h2 { color: #fff; }
.dark .sub { color: #a9b4c2; }
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.example .sub { margin-bottom: 0; }
.numbers {
  background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius); padding: 8px 26px;
}
.numbers div {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.numbers span:first-child { color: #a9b4c2; }
.numbers span:last-child { font-weight: 600; white-space: nowrap; }
.numbers div.total { border-bottom: 0; }
.numbers div.total span:first-child { color: #fff; font-weight: 600; }
.numbers div.total span:last-child { color: #ffa36b; font-size: 20px; font-weight: 800; }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }
.dark .fine { color: #8693a3; }

/* Pricing */
.price-box {
  background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--accent);
  border-radius: var(--radius); padding: 36px; max-width: 600px; box-shadow: var(--shadow);
}
.price-tag { font-size: 14px; font-weight: 700; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.price-box h3 { font-size: 26px; letter-spacing: -0.02em; line-height: 1.25; }
.price-box ul { list-style: none; margin: 22px 0 24px; }
.price-box li { padding: 9px 0 9px 30px; position: relative; border-bottom: 1px solid var(--line); }
.price-box li:last-child { border-bottom: 0; }
.price-box li::before {
  content: ""; position: absolute; left: 4px; top: 18px; width: 11px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.price-note { color: var(--muted); font-size: 15px; margin-bottom: 24px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin-top: 10px; }

/* Contact */
.contact-card {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 44px;
  box-shadow: var(--shadow);
}
.contact-card .sub { margin-bottom: 0; }
.contact-list { list-style: none; }
.contact-list li { padding: 4px 0; color: var(--muted); }
.contact-list li strong { color: var(--ink); font-size: 18px; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* Legal pages */
.legal { max-width: 760px; padding: 64px 20px 88px; margin: 0 auto; }
.legal h1 { font-size: 38px; margin-bottom: 8px; }
.legal h2 { font-size: 21px; margin: 36px 0 8px; letter-spacing: -0.01em; }
.legal p, .legal li { color: #2c3a4a; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.updated { color: var(--muted); font-size: 15px; margin-bottom: 28px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 30px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 20px; text-decoration: none; }
footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero .wrap, .example, .faq-grid, .contact-card { grid-template-columns: 1fr; }
  .hero .wrap { gap: 48px; }
  .faq-grid { gap: 8px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 38px; }
  h2 { font-size: 28px; }
  section { padding: 60px 0; }
  .hero { padding: 44px 0 60px; }
  .lead { font-size: 18px; }
  .eyebrow { font-size: 12px; border-radius: 10px; line-height: 1.45; }
  .sub { font-size: 17px; margin-bottom: 32px; }
  .steps { grid-template-columns: 1fr; }
  header .wrap { height: 60px; }
  header nav a { margin-left: 14px; font-size: 14px; }
  header nav a.hide-sm { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .price-box, .contact-card { padding: 26px; }
  .phone { max-width: 320px; }
  footer a { margin: 0 16px 0 0; }
}
