/* Crospector website, Wise-like design language.
   Tokens taken from wise.com and wise.design on 2026-09-11/13:
   bright green #9FE870, forest #163300, ink #0E0F0C, yellow #FFD11A, red #E74848,
   radii 10/16/32/pill, centred hero, uppercase ultra-heavy display type, flat colour. */

:root {
  --accent: #9FE870;
  --accent-press: #8CD95D;
  --ink: #0E0F0C;
  --forest: #163300;
  --body: #454745;
  --muted: #6A6C6A;
  --line: #E4E6E1;
  --surface: #F7F8F5;
  --warn: #FFD11A;
  --danger: #E74848;
  --white: #FFFFFF;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 32px;
  --pill: 9999px;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: Figtree, Manrope, Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -0.02em; }
h1 {
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.04; letter-spacing: -0.03em; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; }
a { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--body); max-width: 660px; }
.muted { color: var(--muted); }
.hl { position: relative; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: .06em; height: .24em;
  background: var(--accent); border-radius: .12em; z-index: -1;
}

/* ---------- nav, Wise style: thin bar, plain links, one green pill ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 30px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-tile { height: 32px; width: 32px; display: block; }
.brand-word { height: 25px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink); }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; color: var(--ink); }
.lang button { border: 0; background: transparent; padding: 2px 4px; font: inherit; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--pill); padding: 15px 28px; font: inherit; font-weight: 700;
  font-size: 17px; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-press); }
.btn-dark { background: var(--forest); color: var(--white); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.link-cta {
  font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: underline;
  text-underline-offset: 8px; text-decoration-thickness: 2px;
}

/* ---------- hero, centred like Wise ---------- */
.hero { padding: 64px 0 0; }
.hero h1 { max-width: 1060px; margin: 0 auto 22px; }
.hero .lead { margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 15px; color: var(--muted); text-align: center; margin-bottom: 44px; }
.hero-visual { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
/* slide of captured failures, one ratio for all three */
.slides { border-radius: var(--r-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.slide { display: none; margin: 0; }
.slide.is-active { display: block; }
.slide img { display: block; width: 100%; aspect-ratio: 1440 / 730; object-fit: cover; object-position: top center; }
.slide figcaption {
  padding: 16px 22px; font-size: 14.5px; color: var(--muted); background: var(--surface);
  border-top: 1px solid var(--line);
}
.slide figcaption strong { color: var(--ink); letter-spacing: .02em; }
.slide-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.slide-btn {
  width: 48px; height: 48px; border-radius: var(--pill); border: 1px solid var(--line);
  background: var(--white); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer;
  display: inline-grid; place-items: center; padding: 0;
}
.slide-btn:hover { border-color: var(--ink); }
.slide-btn:focus-visible { outline: 2px solid var(--forest); outline-offset: 2px; }
.slide-btn svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.slide-btn.slide-toggle svg { width: 21px; height: 21px; }
.dots { display: flex; gap: 9px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #C9CBCE; cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { background: var(--forest); }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tile { background: var(--surface); border-radius: var(--r-l); padding: 30px; }
.tile .num {
  width: 36px; height: 36px; border-radius: var(--pill); background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 18px;
}
.tile h3 { margin-bottom: 8px; }
.tile p { margin: 0; font-size: 16px; }
.tile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tile-head .num { margin-bottom: 0; flex: 0 0 auto; }
.tile-head h3 { margin: 0; }
.tile-figure { display: block; width: 100%; height: auto; margin: 0 0 16px; border-radius: var(--r-m); }
.photo {
  aspect-ratio: 1 / 1; border-radius: var(--r-m); background: var(--accent);
  display: grid; place-items: center; margin-bottom: 16px;
  color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  background-image: linear-gradient(135deg, rgba(22,51,0,.06), rgba(22,51,0,0));
}
img.photo { display: block; width: 100%; height: auto; object-fit: contain; background-image: none; }
.team-sub { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
.team-lead {
  display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: center;
  background: var(--surface); border-radius: var(--r-l); padding: 30px; margin-bottom: 22px;
}
.team-lead .photo { margin-bottom: 0; }
.team-lead h3 { margin: 0 0 8px; font-size: 24px; }
.team-lead p { margin: 0; }
.team-advisors .tile { display: grid; grid-template-columns: 190px 1fr; gap: 22px; align-items: start; }
.team-advisors .photo { margin-bottom: 0; }
.who-role { font-size: 15px; font-weight: 700; color: var(--ink); }
.tile .who-role { margin: 0 0 8px; }
.who-link { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.section-note { margin: 24px 0 0; text-align: center; color: var(--muted); font-size: 15.5px; }
.tech-card {
  background: var(--surface); border-radius: var(--r-l); padding: 40px; text-align: center;
}
.tech-card h3 { margin: 0 0 10px; }
.tech-card p { margin: 0 0 14px; color: var(--muted); }

/* ---------- margin simulation: sliders on the side, chart carries no label ---------- */
.sim {
  display: grid; grid-template-columns: 372px 1fr; gap: 30px; align-items: center;
  background: var(--surface); border-radius: var(--r-l); padding: 30px 34px;
}
.sim-row { position: relative; padding-bottom: 22px; }
.sim-row label { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.sim-row output {
  position: absolute; top: 0; right: 0; font-size: 15px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sim-row input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; margin: 6px 0 0;
  background: transparent; cursor: pointer;
}
.sim-row input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #D9E3D0; }
.sim-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -7px;
  border-radius: var(--pill); background: var(--forest); border: 3px solid var(--white);
}
.sim-row input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #D9E3D0; }
.sim-row input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--white); border-radius: var(--pill); background: var(--forest); }
.sim-row input[type="range"]:focus-visible { outline: 2px solid var(--forest); outline-offset: 4px; }
.sim-scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.sim-result {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.sim-result label { font-size: 14.5px; font-weight: 700; color: var(--forest); }
.sim-result-value { text-align: right; white-space: nowrap; }
.sim-result output { display: block; font-size: 26px; font-weight: 800; color: var(--forest); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.sim-result small { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.sim-orders {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-top: 12px; font-size: 15px; color: var(--muted);
}
.sim-orders output { font-size: 19px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.sim-legend { display: flex; gap: 22px; justify-content: center; margin-top: 14px; font-size: 14.5px; color: var(--muted); }
.sim-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 22px; height: 0; border-top: 3px solid var(--muted); border-radius: 2px; display: inline-block; }
.key-today { border-top-style: dashed; border-color: #93A287; }
.key-after { border-color: var(--forest); }
/* the four quantities, each named and coloured on the chart itself */
.mlabel {
  display: inline-block; padding: 4px 10px; border-radius: var(--pill);
  font-family: Figtree, Manrope, Inter, -apple-system, sans-serif;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.mlabel-margin { background: rgba(14,15,12,.07); color: #0E0F0C; }
.mlabel-rate { background: rgba(231,72,72,.12); color: #C62F2F; }
.mlabel-recovered { background: var(--accent); color: #0E0F0C; }
.mlabel-after { background: var(--forest); color: #FFFFFF; }
.margin-chart { overflow-x: auto; }
.margin-chart svg { display: block; width: 100%; min-width: 560px; height: auto; }
.margin-chart .axis { fill: var(--muted); font-size: 12.5px; }
.margin-chart .curve-label { font-size: 13.5px; font-weight: 700; }

.band { background: var(--forest); color: var(--white); border-radius: var(--r-l); padding: 56px; text-align: center; }
.band h2 { color: var(--white); max-width: 900px; margin: 0 auto 16px; }
.band p { color: #CFE6BC; max-width: 720px; margin: 0 auto; }
.band-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; text-align: left; }
.band-step { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-m); padding: 20px; }
.band-step .n {
  width: 30px; height: 30px; border-radius: var(--pill); background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-bottom: 12px;
}
.band-step strong { display: block; color: var(--white); font-size: 16.5px; margin-bottom: 5px; }
.band-step > span { color: #CFE6BC; font-size: 14.5px; line-height: 1.45; }

/* ---------- verdict panel ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; }
.panel { background: var(--surface); border-radius: var(--r-l); padding: 24px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.panel-title { font-weight: 800; font-size: 15px; color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 7px; border-radius: var(--pill); padding: 6px 12px; font-size: 13px; font-weight: 700; }
.chip-good { background: #E4F7D6; color: #24580A; }
.chip-warn { background: #FFF3CC; color: #5A4600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.row:last-child { border-bottom: 0; }
.row .k { color: var(--muted); }
.row .v { font-weight: 700; color: var(--ink); text-align: right; }
.steps-mini { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.step-mini {
  flex: 1 1 auto; min-width: 92px; text-align: center; font-size: 12.5px; font-weight: 700;
  padding: 10px; border-radius: var(--r-s); background: var(--white); border: 1px solid var(--line); color: var(--muted);
}
.step-mini.is-todo { background: #FFF3CC; border-color: #F2E3A8; color: #5A4600; }

/* ---------- benchmark table, real data ---------- */
.frame { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.frame-top {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--surface);
}
.frame-body { padding: 26px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.score-bar { display: inline-block; height: 8px; border-radius: 4px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 22px 0 26px; }
.stat { background: var(--surface); border-radius: var(--r-m); padding: 18px; }
.stat .v { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.stat .k { font-size: 13px; color: var(--muted); }
.notice {
  border: 1px dashed #CAD6BC; background: #F3F8EC; border-radius: var(--r-m);
  padding: 16px 20px; font-size: 15.5px; color: #2C4A12;
}
/* ---------- pulse: the paid field, week after week ---------- */
.pulse { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.pulse-head { padding: 24px 26px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pulse-title { font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }
.pulse-sub { margin: 6px 0 0; font-size: 15px; color: var(--muted); max-width: 620px; }
.pulse-body { padding: 24px 26px 26px; }
.chart-head { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.pulse-grid { display: grid; gap: 8px 12px; align-items: center; overflow-x: auto; padding-bottom: 4px; }
.phead { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.phead.is-last { color: var(--ink); display: flex; align-items: center; gap: 7px; }
.phead.is-last::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.pname { font-size: 15.5px; font-weight: 700; color: var(--ink); }
.pcell { position: relative; height: 56px; border-radius: var(--r-s); background: #F1F5EC; overflow: hidden; }
.pcell i { position: absolute; top: 0; bottom: 0; left: 0; display: block; background: var(--accent); }
.pcell.is-last { box-shadow: inset 0 0 0 1.5px var(--forest); }
.pcell > div { position: absolute; inset: 0; display: grid; align-content: center; justify-items: end; padding: 0 13px; }
.pcell b { font-size: 17px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pcell small { font-size: 12px; color: #4A5A3E; font-variant-numeric: tabular-nums; }
.pulse-foot { margin: 20px 0 0; font-size: 15.5px; font-weight: 600; color: var(--forest); }

/* ---------- pricing ---------- */
.price-card { border: 1px solid var(--line); border-radius: var(--r-l); padding: 32px; display: flex; flex-direction: column; }
.price-card.is-featured { background: var(--forest); color: var(--white); border-color: var(--forest); }
.price-card.is-featured h3, .price-card.is-featured .price { color: var(--white); }
.price-card.is-featured .muted, .price-card.is-featured li { color: #D7E9C6; }
.price { font-size: 46px; font-weight: 900; letter-spacing: -0.03em; margin: 12px 0 6px; color: var(--ink); }
.price small { font-size: 16px; font-weight: 700; }
.price-card ul { list-style: none; margin: 20px 0 28px; padding: 0; }
.price-card li { padding: 9px 0 9px 28px; position: relative; font-size: 16px; }
.price-card li::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 14px; height: 8px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}

/* ---------- faq ---------- */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { font-weight: 700; font-size: 19px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 700; color: var(--muted); }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; max-width: 820px; font-size: 16.5px; }

/* ---------- footer ---------- */
.foot { background: var(--forest); color: var(--white); margin-top: 40px; padding: 68px 0 40px; }
.foot img { height: 26px; width: auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.foot a { display: block; color: #D7E9C6; text-decoration: none; padding: 6px 0; font-size: 15px; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 5px; }
.foot-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; color: #B9D3A4; }

@media (max-width: 980px) {
  .grid-3, .grid-2, .foot-grid, .stat-grid { grid-template-columns: 1fr; }
  .team-lead { grid-template-columns: 1fr; gap: 22px; }
  .band-steps { grid-template-columns: 1fr; }
  .pulse-body { padding: 20px 18px 22px; }
  .pcell { height: 50px; }
  .nav-links { display: none; }
  .band { padding: 34px; }
  .hero { padding-top: 40px; }
  .slide img { aspect-ratio: 4 / 3; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal h3 { margin: 34px 0 10px; font-size: 19px; }
.legal h3:first-child { margin-top: 0; }
.legal p { margin: 0 0 12px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }

/* ---------- contact form ---------- */
.form-card { max-width: 640px; margin: 0 auto; background: var(--surface); border-radius: var(--r-l); padding: 36px; }
.form-card label { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin: 20px 0 6px; }
.form-card label:first-of-type { margin-top: 0; }
.form-card input, .form-card textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-m);
  background: var(--white); color: var(--ink); font-size: 16px; font-family: inherit;
}
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--forest); outline-offset: 1px; border-color: var(--forest); }
.form-card textarea { min-height: 150px; resize: vertical; }
.form-card .btn { display: block; width: 100%; margin-top: 26px; text-align: center; border: 0; cursor: pointer; font: inherit; }
.form-card .btn[disabled] { opacity: .6; cursor: default; }
.form-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.form-message { margin: 16px 0 0; font-size: 15px; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--forest); font-weight: 700; }
.diag-list { margin: 0 0 26px; padding: 0; list-style: none; }
.diag-list li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--body); font-size: 16px; }
.diag-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: var(--pill); background: var(--accent); }
