:root {
  --bg: #ffffff;
  --ink: #0d0d0f;
  --muted: #55565c;
  --line: #e7e7ea;
  --soft: #f5f5f3;
  --hi: #ffe14a;
  --dark: #0d0d0f;
  --dot: #2e2e35;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.top, main, footer { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.mark { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
nav a { text-decoration: none; }
nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }
.btn {
  display: inline-block; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 999px;
  padding: 14px 30px; font: 600 16px "Inter", sans-serif; text-decoration: none; cursor: pointer; transition: transform .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn.small { padding: 8px 18px; font-size: 15px; }
.btn.accent { background: var(--hi); border-color: var(--hi); color: var(--ink); }
.btn.ghost { background: transparent; border-color: #45454d; color: #fff; padding: 10px 20px; font-size: 15px; white-space: nowrap; }

.hero { padding: 84px 0 56px; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 28px; max-width: 13.5em; }
h1 mark { background: linear-gradient(transparent 12%, var(--hi) 12%, var(--hi) 92%, transparent 92%); color: inherit; padding: 0 .12em; margin: 0 -.06em; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { font-size: 21px; line-height: 1.45; max-width: 31em; margin: 0 0 32px; }
.cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta span { color: var(--muted); font-size: 15px; }

.panel { background: var(--dark); color: #fff; border-radius: 24px; padding: 36px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
.eyebrow { margin: 0 0 8px; font-size: 14px; color: #a2a2ab; }
.big { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.025em; line-height: 1.1; }
.big b { color: var(--hi); font-weight: 700; }
.dots { display: grid; grid-template-columns: 96px 1fr; row-gap: 12px; align-items: center; }
.eng { font-size: 14px; color: #c9c9d0; }
.row { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: clamp(3px, .6vw, 8px); }
.row i, .legend i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--dot); }
.row i.named, .legend i.named { background: var(--hi); box-shadow: 0 0 14px rgba(255, 225, 74, .55); }
.row i.cited, .legend i.cited { background: transparent; border: 2px solid var(--hi); }
.legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; font-size: 13px; color: #a2a2ab; }
.legend i { width: 11px; margin-left: 12px; }
.legend i:first-child { margin-left: 0; }

section { padding: 76px 0 0; }
section.hero { padding-top: 84px; }
section.panel { padding: 36px; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 30px; }

.work { margin: 0; padding: 0; list-style: none; counter-reset: n; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.work li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; padding: 20px 0; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.work li::before { content: counter(n, decimal-leading-zero); font-family: var(--display); font-weight: 600; font-size: 15px; padding-top: 2px; color: var(--muted); }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.steps div { background: var(--soft); border-radius: 20px; padding: 28px; }
.steps span { display: inline-block; background: var(--hi); border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 600; }
.steps p { margin: 14px 0 0; font-size: 18px; line-height: 1.45; }

.price-grid { display: grid; grid-template-columns: auto 1fr; gap: 64px; align-items: center; }
.figure { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(64px, 10vw, 128px); letter-spacing: -0.05em; line-height: .9; }
.figure small { display: block; font: 500 17px "Inter", sans-serif; letter-spacing: 0; color: var(--muted); margin-top: 14px; }
.rows { margin: 0; padding: 0; list-style: none; max-width: 46em; }
.rows li { padding: 13px 0; border-top: 1px solid var(--line); }
.rows li:last-child { border-bottom: 1px solid var(--line); }

section.apply { margin-top: 84px; padding: 48px 36px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.apply h2 { margin: 0; font-size: clamp(36px, 5vw, 60px); }
form { display: grid; gap: 16px; }
label { display: block; font-size: 14px; font-weight: 600; }
label input, label select { display: block; margin-top: 7px; }
label em { font-style: normal; font-weight: 400; opacity: .6; }
input, select { font: 400 16px "Inter", sans-serif; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.apply input, .apply select { background: #1b1b20; border-color: #33333a; color: #fff; }
.apply input::placeholder { color: #77777f; }
input:focus, select:focus { outline: 2px solid var(--hi); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
form .btn { justify-self: start; margin-top: 6px; }
.ok { margin: 0; font-size: 19px; }
.err { color: #ff8a80; margin: 0 0 14px; grid-column: 2; }

footer { display: flex; justify-content: space-between; padding-top: 40px; padding-bottom: 48px; color: var(--muted); font-size: 14px; }
footer a { text-decoration: none; }

/* report page */
main.wide { max-width: 1080px; }
.kicker { color: var(--muted); font-size: 15px; font-weight: 600; margin: 0 0 12px; }
.facts { width: 100%; border-collapse: collapse; }
.facts th, .facts td { text-align: left; padding: 13px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.facts th { width: 220px; font-weight: 600; padding-right: 18px; }
.facts.num td:nth-child(2) { width: 200px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar i { display: block; height: 12px; min-width: 2px; background: var(--ink); border-radius: 6px; }
.scroll { overflow-x: auto; }
.grid { width: 100%; border-collapse: collapse; font-size: 15px; }
.grid th, .grid td { text-align: left; padding: 11px 14px 11px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.grid td:first-child { white-space: normal; min-width: 260px; }
.grid thead th { border-top: 0; color: var(--muted); font-weight: 600; }
.yes { background: var(--hi); border-radius: 999px; padding: 2px 10px; font-weight: 600; font-size: 13px; }
.cited { border: 2px solid var(--hi); border-radius: 999px; padding: 1px 9px; font-weight: 600; font-size: 13px; }
.no, .na { color: #b4b5bb; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 600; }
details h3 { font-size: 15px; margin: 20px 0 8px; }
pre { white-space: pre-wrap; word-break: break-word; font: 13px/1.5 ui-monospace, Menlo, monospace; color: var(--muted); margin: 0; background: var(--soft); border-radius: 12px; padding: 16px; }

@media (max-width: 760px) {
  nav a:not(.btn) { display: none; }
  .hero { padding: 44px 0 40px; }
  .work, .steps, .price-grid, section.apply { grid-template-columns: 1fr; }
  .price-grid { gap: 28px; }
  .panel, section.panel { padding: 24px 18px; border-radius: 18px; }
  .panel-head { flex-direction: column; }
  .dots { grid-template-columns: 1fr; row-gap: 6px; }
  .eng { margin-top: 8px; }
  .err { grid-column: 1; }
  section { padding-top: 56px; }
  footer { flex-direction: column; gap: 6px; }
}
.more { margin: 22px 0 0; font-weight: 600; }
.more a { text-underline-offset: 4px; }
.about { font-size: 21px; line-height: 1.45; max-width: 34em; margin: 0; }
.row i { cursor: default; }
@media (max-width: 760px) { .about, .lede { font-size: 18px; } }
.apply-terms { margin: 16px 0 0; color: #a2a2ab; font-size: 15px; }
.err { grid-column: auto; }
main.wide .hero { padding-bottom: 0; }
@media (max-width: 760px) {
  .facts th { width: 112px; padding-right: 10px; }
  .facts.num td:nth-child(2) { width: 132px; white-space: normal; }
}
.dots { grid-template-columns: 96px minmax(0, 1fr); }
.row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); min-width: 0; }
.legend { gap: 8px 20px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.legend i { margin-left: 0; }
@media (max-width: 760px) {
  .dots { grid-template-columns: minmax(0, 1fr); }
  .row { gap: 3px; }
  .row i.cited { border-width: 1.5px; }
  .row i.named { box-shadow: 0 0 6px rgba(255, 225, 74, .5); }
  .facts.num .bar { display: none; }
  .facts.num td:nth-child(2) { width: auto; }
}
.row i.cited, .legend i.cited { border: 0; background: transparent; box-shadow: inset 0 0 0 2px var(--hi); }
@media (max-width: 760px) { .row i.cited { box-shadow: inset 0 0 0 1.5px var(--hi); } }
.row i.cited, .legend i.cited { padding: 0; border-radius: 50%; }
.versus { margin: 10px 0 0; font-size: 18px; color: #c9c9d0; }
.apply h2 { font-size: clamp(32px, 4.2vw, 52px); }
.versus { max-width: 36em; line-height: 1.45; }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 3vw, 40px); height: 280px; align-items: end; padding-bottom: 34px; position: relative; }
.bar-col { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.bar-col i { display: block; background: #34343c; border-radius: 10px 10px 0 0; min-height: 4px; }
.bar-col.on i { background: var(--hi); }
.bar-col .val { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.4vw, 40px); letter-spacing: -0.03em; margin-bottom: 8px; color: #c9c9d0; }
.bar-col.on .val { color: var(--hi); }
.bar-col .lab { position: absolute; bottom: -30px; left: 0; font-size: 14px; color: #a2a2ab; }
.panel .big { max-width: 17em; }
.case-hero h1 { font-size: clamp(34px, 5.2vw, 64px); max-width: 15em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stats div { background: var(--soft); border-radius: 20px; padding: 28px; }
.stats b { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.04em; line-height: 1; }
.stats p { margin: 14px 0 0; line-height: 1.45; }
.work.one { grid-template-columns: 1fr; max-width: 46em; }
.panel.inset { margin-top: 28px; padding: 30px 36px; }
.cta-panel { align-items: center; }
.cta-panel > div:last-child { justify-self: end; }
@media (max-width: 760px) {
  .bars { height: 220px; }
  .stats { grid-template-columns: 1fr; }
  .panel.inset { padding: 22px 18px; }
  .cta-panel > div:last-child { justify-self: start; }
}
.note { margin: 22px 0 0; font-size: 13px; color: #a2a2ab; line-height: 1.5; }
.about a { text-underline-offset: 4px; }
