:root {
  --paper: #eef2f0;
  --card: #ffffff;
  --ink: #1b2a33;
  --muted: #5d6c72;
  --spruce: #2f6b5a;
  --spruce-dark: #234f43;
  --signal: #f5c518;
  --line: #cfd8d5;
  --miss: #b8452f;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--spruce-dark); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 700;
  font-stretch: 85%;
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand small {
  display: block;
  font-weight: 400;
  font-stretch: 100%;
  font-size: 0.82rem;
  color: var(--muted);
}
.nav { display: flex; gap: 20px; flex-wrap: wrap; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.btn:hover { background: var(--spruce-dark); border-color: var(--spruce-dark); }
.btn.secondary { background: transparent; color: var(--ink); }
.btn.secondary:hover { background: var(--card); }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 14ch;
}
.hero p.lede {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 30px;
}
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Call log: the signature element */
.calllog {
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 8px;
  box-shadow: 0 24px 48px -28px rgba(27, 42, 51, 0.45);
}
.calllog-head {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.call {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}
.call-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}
.call.missed .call-icon { background: #f6e3de; color: var(--miss); }
.call.answered .call-icon { background: #dcebe5; color: var(--spruce-dark); }
.call-who { font-weight: 600; line-height: 1.3; }
.call-what { font-size: 0.9rem; color: var(--muted); line-height: 1.4; }
.call-time { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
.call.missed .call-what { color: var(--miss); }
.booked {
  display: inline-block;
  margin-top: 4px;
  background: var(--signal);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 999px;
}

.calllog .call.answered { animation: settle 0.6s ease-out both; }
.calllog .call.answered:nth-of-type(3) { animation-delay: 0.5s; }
.calllog .call.answered:nth-of-type(4) { animation-delay: 1s; }
@keyframes settle {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .calllog .call.answered { animation: none; }
}

/* Sections */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 80%;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  max-width: 22ch;
}
h3 { font-size: 1.2rem; line-height: 1.3; margin: 0 0 8px; }
.intro { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }

.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: block;
  font-size: 2.6rem;
  font-weight: 800;
  font-stretch: 75%;
  color: var(--spruce);
  line-height: 1;
  margin-bottom: 10px;
}
.steps p { margin: 0; color: var(--muted); }

.handles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  max-width: 900px;
}
.handles div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.handles p { margin: 0; color: var(--muted); }

/* Doors to the two audiences */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.door {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.door:hover { border-color: var(--ink); }
.door h3 { font-size: 1.5rem; font-stretch: 85%; }
.door p { color: var(--muted); margin: 0 0 18px; }
.door span { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }

/* Pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plan.featured { border: 2px solid var(--ink); }
.plan .price {
  font-size: 2.4rem;
  font-weight: 800;
  font-stretch: 75%;
  line-height: 1;
  margin: 10px 0 4px;
}
.plan .price small { font-size: 1rem; font-weight: 400; font-stretch: 100%; color: var(--muted); }
.plan ul { padding-left: 1.1em; margin: 16px 0 0; color: var(--muted); }
.plan li { margin-bottom: 6px; }
.fine { font-size: 0.9rem; color: var(--muted); margin-top: 20px; max-width: 70ch; }

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

/* Contact */
.contact { background: var(--ink); color: #fff; border-top: none; }
.contact h2 { color: #fff; }
.contact p { color: #c9d4d8; max-width: 56ch; }
.contact .btn { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.contact .btn:hover { background: #fff; border-color: #fff; }
.contact a:not(.btn) { color: #fff; }

/* Footer */
.site-footer { padding: 28px 0 40px; font-size: 0.9rem; color: var(--muted); }
.site-footer p { margin: 4px 0; }

@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero .wrap, .doors, .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .handles { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .call { grid-template-columns: 36px 1fr; }
  .call-time { grid-column: 2; }
}
