/* 3 Point Forward — shared stylesheet for the pages beyond the homepage.
 *
 * The homepage carries its own inline CSS and is left alone. These tokens are
 * copied from it deliberately: services, work and the assessment have to look
 * like the same company, and duplicating eleven custom properties is cheaper
 * than refactoring a working 170KB page to extract them.
 *
 * If a token changes on the homepage, change it here too. There is no build
 * step on this site and there should not be one.
 */

:root {
  --paper: #f7f8fb;
  --white: #fff;
  --ink: #1a2230;
  --ink2: #525c6e;
  --muted: #68707f;
  --blue: #1f347f;
  --blue2: #14235c;
  --blue-br: #2b46b8;
  --blue-tint: #eef1fb;
  --gold: #f5b81f;
  --gold2: #e0a300;
  /* Dark enough to read as text on a light ground; see index.html. */
  --gold-ink: #8f6a00;
  --gold-tint: #fdf4dd;
  --line: #e7e9f0;
  --teal: #17becf;
  --warn: #a8471a;
  --warn-tint: #fdf0e9;
  --maxw: 1180px;
  --pad: clamp(18px, 4.5vw, 72px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  /* Anything linked to by a fragment clears the fixed header. */
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }

/* Every interactive thing gets a visible ring. The site is keyboard-navigable
   or it is not accessible, and a custom outline that only shows on :focus
   keeps it from firing on every mouse click. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue-br);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
}
.skip:focus { left: 8px; top: 8px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
  width: 100%;
}

/* ── Header ─────────────────────────────────────────────────────── */

.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 248, 251, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand svg { width: 30px; height: 30px; }
.brand .nm {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand .nm b { font-weight: 700; color: var(--blue); }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  padding: 8px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink2);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav a:hover { background: var(--blue-tint); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }

.hdr .cta { display: flex; gap: 8px; flex: none; }

/* Mobile: the links collapse into a disclosure, which is a real <details> so
   it works with the keyboard and with JavaScript off. */
.navtoggle { display: none; }

@media (max-width: 900px) {
  .hdr .bar { flex-wrap: wrap; gap: 10px; }
  .navtoggle { display: block; margin-left: auto; }
  .navtoggle > summary {
    list-style: none;
    cursor: pointer;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--white);
    font-family: "Space Grotesk", sans-serif;
    font-weight: 600;
    font-size: 14px;
  }
  .navtoggle > summary::-webkit-details-marker { display: none; }
  .navtoggle[open] > summary { background: var(--blue-tint); color: var(--blue); }
  .hdr .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-left: 0;
    padding-bottom: 8px;
  }
  .navtoggle[open] ~ .nav { display: flex; }
  .hdr .nav a { padding: 11px 12px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .hdr .cta { order: 4; width: 100%; }
  .hdr .cta .btn { flex: 1; justify-content: center; }
}

/* ── Buttons + links ────────────────────────────────────────────── */

.btn {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border-radius: 10px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: 0.22s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  text-align: center;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue2); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #26200a; }
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--blue);
  font-size: 15px;
}
.tlink:hover { color: var(--blue-br); }
.tlink .ar { transition: transform 0.22s var(--ease); }
.tlink:hover .ar { transform: translateX(3px); }

/* ── Sections ───────────────────────────────────────────────────── */

.sec { padding: clamp(46px, 6vw, 86px) 0; }
.sec-alt { background: var(--white); border-block: 1px solid var(--line); }

.kick {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
}

.sec-head { max-width: 760px; margin-bottom: clamp(26px, 3.5vw, 44px); }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); margin-top: 12px; }
.sec-head .intro { margin-top: 16px; color: var(--ink2); font-size: clamp(16px, 1.2vw, 18px); }

.page-head { padding: clamp(40px, 6vw, 84px) 0 clamp(26px, 3vw, 40px); }
.page-head h1 { font-size: clamp(32px, 5vw, 56px); margin-top: 14px; max-width: 15ch; }
.page-head .lede { margin-top: 20px; max-width: 64ch; color: var(--ink2); font-size: clamp(17px, 1.4vw, 20px); }

.crumbs { font-size: 13.5px; color: var(--muted); display: flex; gap: 7px; flex-wrap: wrap; }
.crumbs a { color: var(--ink2); }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }

/* ── Cards + grids ──────────────────────────────────────────────── */

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.22s, transform 0.22s var(--ease);
}
.card:hover { border-color: #c9d2ea; }
a.card:hover { transform: translateY(-2px); border-color: var(--blue); }
.card h3 { font-size: clamp(19px, 1.6vw, 23px); }
.card p { color: var(--ink2); font-size: 15.5px; }
.card .num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold-ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink2);
  white-space: nowrap;
}
.chip-blue { background: var(--blue-tint); border-color: #d3dbf5; color: var(--blue); }
.chip-gold { background: var(--gold-tint); border-color: #d8c08a; color: #6b4e00; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }

/* ── Lists that carry meaning ───────────────────────────────────── */

.ilist { list-style: none; display: grid; gap: 13px; }
.ilist li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  color: var(--ink2);
  font-size: 15.8px;
}
.ilist li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--blue-tint);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f347f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.ilist.plain li::before {
  background-color: var(--line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23525c6e' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}
.ilist.caution li::before {
  background-color: var(--warn-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8471a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 8v5M12 16.5v.01'/%3E%3C/svg%3E");
  background-size: 14px;
}

/* ── The honest box ─────────────────────────────────────────────── */

.note {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--white);
  border-radius: 10px;
  padding: 18px 20px;
  color: var(--ink2);
  font-size: 15.2px;
}
.note.caution { border-left-color: var(--warn); background: var(--warn-tint); }
.note strong { color: var(--ink); }

/* ── Steps ──────────────────────────────────────────────────────── */

.steps { counter-reset: s; display: grid; gap: 2px; }
.step {
  counter-increment: s;
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.2vw, 26px);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.step:first-child { border-radius: 14px 14px 0 0; }
.step:last-child { border-radius: 0 0 14px 14px; }
.step + .step { border-top: none; }
.step::before {
  content: "0" counter(s);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
  background: var(--blue-tint);
  border-radius: 9px;
  padding: 7px 0;
  text-align: center;
}
.step h3 { font-size: 19px; }
.step p { margin-top: 7px; color: var(--ink2); font-size: 15.5px; }
@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: 10px; }
  .step::before { width: 48px; }
}

/* ── Tables ─────────────────────────────────────────────────────── */

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
table.t { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.2px; }
table.t th, table.t td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { font-family: "Space Grotesk", sans-serif; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
table.t tr:last-child td { border-bottom: none; }
table.t td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ── FAQ ────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 2px; }
.faq details { background: var(--white); border: 1px solid var(--line); }
.faq details:first-of-type { border-radius: 12px 12px 0 0; }
.faq details:last-of-type { border-radius: 0 0 12px 12px; }
.faq details + details { border-top: none; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 52px 17px 20px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--blue);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .fa { padding: 0 20px 19px; color: var(--ink2); font-size: 15.5px; }

/* ── Footer ─────────────────────────────────────────────────────── */

.ft { background: var(--white); border-top: 1px solid var(--line); padding: clamp(38px, 4.5vw, 62px) 0 26px; }
.ft-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.ft h3, .ft h4 { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ft a, .ft .li { display: block; padding: 5px 0; color: var(--ink2); font-size: 15px; }
.ft a:hover { color: var(--blue); }
.ft .bl { margin-top: 14px; color: var(--ink2); font-size: 15px; max-width: 34ch; }
.ft-btm {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13.5px;
}
.ft-btm nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-btm a { color: var(--muted); padding: 0; display: inline; }
.ft-btm a:hover { color: var(--blue); text-decoration: underline; }

/* ── The partner band, identical in substance on both sites ─────── */

.partner { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.partner .p-col { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(20px, 2.4vw, 28px); }
.partner .p-col.is-us { border-color: #c9d2ea; background: var(--blue-tint); }
.partner h3 { font-size: 18px; }
.partner p { margin-top: 10px; color: var(--ink2); font-size: 15.5px; }

/* ── Screenshot frame ───────────────────────────────────────────── */

.shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); }
.shot .db { display: flex; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--paper); }
.shot .db i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.shot figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }

/* ── Reveal, and the promise to hold still when asked ───────────── */

.rv { opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* No JavaScript, no hidden content. The reveal class only dims what is
   already in the document, so if the observer never runs, show everything. */
.no-js .rv { opacity: 1; transform: none; }
