:root {
  --ink: #0F1B3D;
  --signal: #F2541B;
  --paper: #F5F6F8;
  --white: #FFFFFF;
  --slate: #586074;
  --line: #D9DCE3;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, sans-serif;
  --measure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

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

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 22px;
}
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.wordmark svg { width: 26px; height: 26px; flex: none; }
.site-header nav { display: flex; gap: 22px; font-size: 0.95rem; }
.site-header nav a { text-decoration: none; color: var(--slate); }
.site-header nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding-block: 72px 88px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 32px;
  max-width: 14ch;
}
.hero p {
  font-size: 1.2rem;
  color: var(--slate);
  max-width: 52ch;
  margin: 0 0 36px;
}

/* The pacing bar: the one bold element */
.pacing {
  margin: 0 0 40px;
  max-width: 640px;
}
.pacing-track {
  position: relative;
  height: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.pacing-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--signal);
  border-radius: 7px 0 0 7px;
  animation: fill 1.6s cubic-bezier(.2,.7,.2,1) .3s forwards;
}
.pacing-marker {
  position: absolute;
  top: -6px;
  left: 62%;
  width: 2px;
  height: 26px;
  background: var(--ink);
}
.pacing-caption {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 10px;
}
@keyframes fill { to { width: 61%; } }
@media (prefers-reduced-motion: reduce) {
  .pacing-fill { animation: none; width: 61%; }
}

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 6px;
}
.button:hover { background: #1C2C5C; }

/* Sections */
section { padding-block: 72px; border-top: 1px solid var(--line); }
section h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px;
}
.section-intro { color: var(--slate); max-width: 56ch; margin: 0 0 40px; }

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 48px;
}

/* Services as a definition list */
.services { margin: 0; }
.services div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 24px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.services div:first-child { padding-top: 0; }
.services dt { font-weight: 600; }
.services dd { margin: 0; color: var(--slate); }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.steps li:first-child { padding-top: 0; }
.steps li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--signal);
}
.steps strong { display: block; }
.steps span { color: var(--slate); }

/* Contact */
.contact {
  background: var(--ink);
  color: var(--white);
  border-top: none;
}
.contact h2 { color: var(--white); }
.contact p { color: #C5CBDA; max-width: 52ch; }
.contact .mail {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  letter-spacing: -0.02em;
  color: var(--white);
  margin-top: 12px;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 3px;
  word-break: break-word;
}

/* Footer */
.site-footer {
  padding-block: 28px 40px;
  font-size: 0.9rem;
  color: var(--slate);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
.site-footer nav { display: flex; gap: 22px; }

/* Legal pages */
.legal { padding-block: 48px 80px; }
.legal h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.legal .updated { color: var(--slate); margin: 0 0 40px; }
.legal article { max-width: var(--measure); }
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 40px 0 8px;
}
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 6px; }

/* Callback */
.callback { padding-block: 64px 96px; max-width: 640px; }
.callback h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.code-box {
  display: flex;
  gap: 8px;
  margin: 24px 0 12px;
}
.code-box output {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.code-box button {
  font: inherit;
  font-weight: 600;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 0 18px;
  cursor: pointer;
}
.note { color: var(--slate); font-size: 0.95rem; }

@media (max-width: 760px) {
  .site-header nav { display: none; }
  .hero { padding-block: 40px 64px; }
  .grid-2 { grid-template-columns: 1fr; gap: 8px; }
  .services div { grid-template-columns: 1fr; gap: 4px; }
  section { padding-block: 56px; }
}

[hidden] { display: none !important; }
