:root {
  --ink: #12233a;
  --ink-soft: #4a5a70;
  --paper: #eef1f4;
  --card: #ffffff;
  --line: #c9d2dc;
  --route: #2f5bea;
  --stop: #c8402f;
  --radius: 14px;
}

* { box-sizing: border-box; }

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

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

a { color: var(--route); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--route);
  outline-offset: 3px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.mark {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.mark span { color: var(--route); }
.top nav a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 22px;
  font-size: 15px;
}
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

/* Hero */
.hero { padding: 64px 0 72px; position: relative; }
.hero h1 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(48px, 10vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0;
  font-weight: 800;
}
.route {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  margin: 22px 0 10px;
  overflow: visible;
}
.route .arc {
  fill: none;
  stroke: var(--route);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.85;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: draw 2.4s ease-out forwards;
}
.route .arc.faint { stroke-width: 1.5; opacity: 0.35; }
.route .arc:nth-of-type(2) { animation-delay: 0.15s; }
.route .arc:nth-of-type(3) { animation-delay: 0.3s; }
.route .arc:nth-of-type(4) { animation-delay: 0.45s; }
.route .arc:nth-of-type(5) { animation-delay: 0.6s; }
.route .arc:nth-of-type(6) { animation-delay: 0.75s; }
.route .arc:nth-of-type(7) { animation-delay: 0.9s; }
.route .border {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
}
.route .node { fill: var(--card); stroke: var(--route); stroke-width: 2.5; }
.route .pulse { fill: var(--route); }
.route text {
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  fill: var(--ink-soft);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .route .arc { animation: none; stroke-dashoffset: 0; }
  .route .pulse { display: none; }
}

.lede {
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.4;
  max-width: 640px;
  margin: 18px 0 32px;
}

/* Signup */
.signup {
  display: flex;
  gap: 10px;
  max-width: 520px;
  flex-wrap: wrap;
}
.signup input[type="email"] {
  flex: 1 1 240px;
  font: inherit;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
}
.signup button, .btn {
  font: inherit;
  font-weight: 600;
  padding: 14px 22px;
  border: 0;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.signup button:hover, .btn:hover { background: var(--route); }
.fine { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.hidden { position: absolute; left: -9999px; }

/* Sections */
section { padding: 56px 0; border-top: 1px solid var(--line); }
h2 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
}
.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.two p { margin: 0 0 16px; }

/* Briefings */
.briefings { list-style: none; padding: 0; margin: 0; }
.briefings li:last-child { border-bottom: 0; }
.briefings li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.briefings time { color: var(--ink-soft); font-size: 15px; padding-top: 2px; }
.briefings h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.35; }
.briefings p { margin: 0; color: var(--ink-soft); }

/* Playbook card */
.playbook {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 720px;
}
.status {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--route);
  margin-bottom: 10px;
}
.playbook h3 {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: 26px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.playbook ul { padding-left: 20px; margin: 0 0 24px; }
.playbook li { margin-bottom: 6px; }

.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }

footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer a { color: var(--ink-soft); }

.thanks { padding: 120px 0; max-width: 620px; }

@media (max-width: 760px) {
  .two, .about { grid-template-columns: 1fr; gap: 12px; }
  .briefings li { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding: 32px 0 48px; }
  .top nav { white-space: nowrap; }
  .route text { font-size: 26px; }
  .route .node { stroke-width: 3.5; }
  .top nav a { margin-left: 10px; font-size: 13.5px; }
  .mark { font-size: 18px; }
  .playbook { padding: 22px; }
}

/* Case study */
.crumb { font-size: 15px; color: var(--ink-soft); text-decoration: none; }
.crumb:hover { color: var(--ink); }
.hero .cs-title {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0 28px;
  max-width: 820px;
}
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.facts li {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 15px;
}
.prose { max-width: 680px; }
.prose p { margin: 0 0 16px; }
.big-gap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 720px;
  margin: 8px 0 8px;
}
.big-gap div {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.big-gap span { display: block; color: var(--ink-soft); font-size: 15px; margin-bottom: 4px; }
.big-gap strong {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(28px, 4.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.big-gap .short { border-color: var(--stop); }
.big-gap .short strong { color: var(--stop); }
.costs { width: 100%; max-width: 720px; border-collapse: collapse; margin: 8px 0 12px; }
.costs td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.costs td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 20px; }
.costs tr.total td { border-bottom: 0; border-top: 2px solid var(--ink); font-weight: 700; }
.costs small { display: block; color: var(--ink-soft); font-weight: 400; }
.chain { width: 100%; max-width: 720px; height: auto; display: block; margin: 8px 0 20px; }
.chain .lane { fill: none; stroke: var(--route); stroke-width: 3; stroke-linecap: round; }
.chain .border { stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 5 7; }
.chain .node { fill: var(--card); stroke: var(--route); stroke-width: 3; }
.chain .cut { fill: var(--stop); }
  .chain text { text-anchor: middle; }
.chain text { font-family: "Inter", sans-serif; font-size: 15px; fill: var(--ink-soft); font-weight: 600; }
.chain .cur { font-size: 20px; fill: var(--ink); font-weight: 700; }
.chain .loss { fill: var(--stop); font-size: 14px; }
.questions { max-width: 680px; padding-left: 22px; margin: 0 0 16px; }
.questions li { margin-bottom: 10px; }
.note { color: var(--ink-soft); font-size: 15px; max-width: 680px; }
.cs-card { text-decoration: none; color: inherit; display: block; }
.cs-card:hover h3 { color: var(--route); }
@media (max-width: 760px) {
  .big-gap { grid-template-columns: 1fr; }
  .chain text { font-size: 22px; }
  .chain .cur { font-size: 28px; }
  .chain .loss { font-size: 26px; }
  .chain .sub { display: none; }
}
footer { align-items: center; }
footer .mark { font-size: 20px; }

/* News */
.briefings h3 a { color: var(--ink); text-decoration: none; }
.briefings h3 a:hover { color: var(--route); text-decoration: underline; }
.post { padding: 40px 0 56px; }
.hero + section, .post + section { }
.post-title {
  font-family: "Bricolage Grotesque", "Inter", sans-serif;
  font-size: clamp(32px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 14px 0 12px;
  max-width: 820px;
}
.meta { color: var(--ink-soft); font-size: 15px; margin: 0 0 28px; }
.post-img { display: block; width: 100%; max-width: 560px; height: auto; border-radius: var(--radius); border: 1.5px solid var(--line); margin: 0 0 32px; }
.post-body { font-size: 18px; }
.post-body h3 { font-size: 20px; margin: 28px 0 10px; }
.points { padding-left: 22px; margin: 0 0 18px; }
.points li { margin-bottom: 10px; }
.sources { max-width: 680px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.sources h3 { font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.sources ul { padding-left: 18px; margin: 0; }
.sources p { margin: 0; }

@media (max-width: 430px) {
  .top { flex-wrap: wrap; row-gap: 10px; }
  .top nav { width: 100%; white-space: nowrap; }
  .top nav a { margin-left: 18px; font-size: 15px; }
  .top nav a:first-child { margin-left: 0; }
  .mark { font-size: 20px; }
}
