:root {
  --sky: #eef2f7;
  --paper: #ffffff;
  --ink: #15233f;
  --muted: #55657e;
  --line: #2f5bea;
  --line-soft: #dfe7fb;
  --signal: #f2a900;
  --rule: #d5dce7;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--line); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}
img { max-width: 100%; }

.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand-mark { width: 28px; height: 28px; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--line); }
.nav .nav-cta { display: none; }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16px; border: 2px solid var(--ink);
}
.btn:hover { background: var(--line); border-color: var(--line); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--paper); color: var(--ink); border-color: var(--ink); }

/* Hero */
.hero { padding: 40px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.hero .lede { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 14px; color: var(--muted); margin-top: 16px; }

/* Call card: the one memorable element */
.call {
  background: var(--paper); border-radius: 22px; padding: 22px 22px 18px;
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(21, 35, 63, 0.45);
  border: 1px solid var(--rule);
}
.call-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.call-who { font-weight: 600; }
.call-meta { font-size: 13px; color: var(--muted); }
.ring {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  color: var(--ink); background: #fff6db; padding: 5px 10px; border-radius: 999px;
}
.ring-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.lines { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; min-height: 300px; }
.lines li { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; }
.lines .caller { background: var(--sky); justify-self: start; border-bottom-left-radius: 4px; }
.lines .agent { background: var(--line); color: #fff; justify-self: end; border-bottom-right-radius: 4px; }
.lines .result {
  justify-self: stretch; max-width: none; background: transparent; border: 1px dashed var(--line);
  color: var(--ink); font-size: 14px;
}
.lines .result strong { color: var(--line); }

@media (prefers-reduced-motion: no-preference) {
  .js .lines li { opacity: 0; transform: translateY(6px); transition: opacity 0.35s ease, transform 0.35s ease; }
  .js .lines li.shown { opacity: 1; transform: none; }
  .ring-dot { animation: pulse 1.4s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(242, 169, 0, 0.25); } }
}

/* Sections */
.section { padding: 80px 0; }
.section-white { background: var(--paper); }
.section h2 {
  font-family: var(--display); font-weight: 700; font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; max-width: 20em;
}
.section .intro { color: var(--muted); max-width: 40em; margin: 0 0 40px; }

/* Segments */
.segments { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.segment { padding: 28px 32px 8px 0; }
.segment + .segment { padding-left: 32px; border-left: 1px solid var(--rule); }
.segment h3 { font-family: var(--display); font-size: 24px; margin: 0 0 6px; }
.segment .who { color: var(--muted); margin: 0 0 18px; }
.segment ul { margin: 0 0 20px; padding-left: 20px; }
.segment li { margin-bottom: 8px; }

/* Steps: a real sequence */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step); display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line);
  color: var(--line); font-family: var(--display); font-weight: 700; margin-bottom: 14px;
}
.steps h3 { font-family: var(--display); font-size: 21px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); }

/* Pricing */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.price { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 28px; }
.price h3 { font-family: var(--display); font-size: 22px; margin: 0 0 4px; }
.price .amount { font-family: var(--display); font-size: 44px; font-weight: 800; letter-spacing: -0.02em; margin: 12px 0 0; line-height: 1; }
.price .unit { color: var(--muted); margin: 6px 0 18px; }
.price ul { margin: 0; padding-left: 20px; }
.price li { margin-bottom: 6px; }
.price-note { color: var(--muted); font-size: 15px; margin-top: 22px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 18px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Closing */
.closing { padding: 88px 0; background: var(--ink); color: #fff; }
.closing h2 {
  color: #fff; font-family: var(--display); font-weight: 700;
  font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px;
}
.closing p { color: #c9d3e6; max-width: 36em; margin: 0 0 28px; }
.closing .btn { background: var(--signal); border-color: var(--signal); color: var(--ink); }
.closing .btn:hover { background: #fff; border-color: #fff; }

/* Footer */
.site-footer { padding: 28px 0 40px; font-size: 14px; color: #a9b7cf; background: var(--ink); border-top: 1px solid #2a3a5c; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #c9d3e6; }

/* Segment page extras */
.page-hero { padding: 40px 0 56px; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 18px; max-width: 16em; }
.page-hero .lede { font-size: 19px; color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.two-col h3 { font-family: var(--display); font-size: 22px; margin: 0 0 10px; }
.two-col ul { padding-left: 20px; margin: 0; }
.two-col li { margin-bottom: 8px; }

@media (max-width: 860px) {
  .hero .wrap, .segments, .prices, .two-col { grid-template-columns: 1fr; }
  .hero .wrap { gap: 36px; }
  .segment, .segment + .segment { padding: 24px 0 8px; border-left: 0; }
  .segment + .segment { border-top: 1px solid var(--rule); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { display: inline-block; padding: 9px 16px; font-size: 15px; }
  .section { padding: 60px 0; }
}
