/* The look of the whole site, in the posting's own colours: navy, sky blue and orange, Rethink Sans,
   and Caveat for the handwritten notes. Desktop first; responsive.css narrows it for phones,
   print.css turns the printable pages into fixed sheets for the PDF. */

@font-face { font-family: "Rethink Sans"; src: url("../fonts/rethink-sans-var.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --navy: #1e4055;
  --navy-deep: #132b39;
  --navy-mid: #2a5a75;
  --slate: #3b6478;
  --sky: #d6e8f4;
  --sky-soft: #edf4f9;
  --sky-deep: #c5dcec;
  --mist: #9bb0bf;
  --orange: #fd7b41;
  --orange-deep: #ec6a30;
  --orange-ink: #c45a1e;
  --peach: #fef3ed;
  --teal: #00ac8a;
  --teal-tint: rgba(0, 172, 138, 0.15);
  --ink: #132b39;
  --text: #2d4a5c;
  --muted: #5d7687;
  --line: #e1e9ef;

  --sans: "Rethink Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  --shadow: 0 22px 50px -24px rgba(19, 43, 57, 0.38);
  --shadow-soft: 0 10px 28px -16px rgba(19, 43, 57, 0.28);

  --wrap: 1240px;
  --gutter: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure, table { margin: 0; padding: 0; }
h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
ul, ol { list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; }
strong, b { font-weight: 600; }
.ico { flex: none; vertical-align: middle; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.main { position: relative; overflow-x: clip; }

/* ------------------------------------------------------------- wordmark */
.wordmark { display: inline-flex; align-items: baseline; font-family: var(--sans); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -0.045em; color: var(--navy); white-space: nowrap; }
.wordmark i { font-style: normal; color: var(--orange); }
.wordmark span { font-weight: 700; letter-spacing: -0.03em; }

/* ------------------------------------------------------------------ menu */
.top {
  position: relative; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  min-height: 96px; padding: 10px max(24px, calc((100% - var(--wrap)) / 2));
  background: var(--sky);
}
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; text-decoration: none; justify-self: start; }
.logo-tag { font-size: 11px; line-height: 1; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 500; line-height: 1; color: var(--navy); }
.menu a { text-decoration: none; padding: 8px 0; }
.menu a:hover, .menu a[aria-current] { color: var(--orange-ink); }
.top-end { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.lang { font-size: 14px; font-weight: 500; color: var(--navy); }
.top-btn { padding: 14px 24px; font-size: 16px; }

/* the handwritten note on the application: a few words and an arrow up to the way back to the front page */
.menu-home { position: relative; }
.note { position: absolute; display: flex; align-items: flex-end; gap: 2px; color: var(--navy); white-space: nowrap; pointer-events: none; }
.note b { font-family: var(--hand); font-weight: 500; font-size: 23px; line-height: 1.05; }
.note svg { flex: none; display: block; }
.menu-home .note { top: 100%; right: 42%; margin-top: 0; }
.menu-home .note b { transform: rotate(-7deg); transform-origin: right bottom; margin-bottom: -8px; }
.note--down { flex-direction: column; align-items: center; gap: 0; }
.note--down b { text-align: center; transform: rotate(-5deg); }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 30px; font: 500 17px/1 var(--sans); text-decoration: none; text-align: center; white-space: nowrap;
  color: #fff; background: var(--orange); border: 0; border-radius: 8px; cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--orange-deep); }
.btn--white { background: #fff; color: var(--navy-deep); }
.btn--white:hover { background: var(--sky-soft); }
.btn--navy { background: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }

.badge {
  display: inline-block; padding: 7px 13px 6px; font-size: 12px; line-height: 1; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange-ink); background: var(--peach); border-radius: 999px;
}
.tick { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-tint); color: var(--teal); }
.itile { display: inline-grid; place-items: center; flex: none; border-radius: 14px; }
.itile--sky { background: var(--sky); color: var(--navy); }
.itile--orange { background: var(--orange); color: #fff; }
.itile--navy { background: var(--navy); color: #fff; }
.itile--peach { background: var(--peach); color: var(--orange-ink); }
.itile--white { background: #fff; color: var(--orange-ink); }

/* the dotted decoration */
.dots { display: block; position: absolute; pointer-events: none; }

/* --------------------------------------------------------- portrait card */
.team { position: relative; margin: 0; }
.team-pic { position: relative; z-index: 0; display: block; isolation: isolate; }
.team-pic::before, .team-pic::after { content: ""; position: absolute; border-radius: 18px; }
.team-pic::before { z-index: -1; top: 34px; bottom: 34px; right: -18px; width: 50%; background: var(--slate); }
.team-pic::after { z-index: -2; top: 68px; bottom: 68px; right: -36px; width: 50%; background: var(--sky-deep); }
.team-photo { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 18px; background: var(--orange); }
.team figcaption { position: relative; z-index: 1; margin-top: 14px; text-align: center; }
.team figcaption b { display: block; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.team figcaption span { display: block; font-size: 14.5px; font-weight: 500; color: var(--orange-ink); }
.team .note { left: 50%; bottom: 100%; transform: translateX(-50%); margin-bottom: 2px; }

/* ----------------------------------------------------------------- footer */
.foot { margin-top: 110px; background: var(--navy); color: #c3d2dc; }
.foot-in { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding-bottom: 26px; }
.foot-cta {
  position: relative; top: -46px; margin-bottom: -46px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 28px 40px; background: var(--sky); border-radius: 14px;
}
.foot-cta p span { display: block; font-size: 18px; font-weight: 500; color: var(--slate); line-height: 1.35; }
.foot-cta p b { display: block; font-size: 23px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.foot-field {
  display: flex; align-items: center; gap: 14px; flex: 0 1 520px; min-width: 0; padding-left: 20px; overflow: hidden;
  background: #fff; border-radius: 12px; text-decoration: none; color: var(--muted);
}
.foot-field .ico { color: var(--teal); }
.foot-field span { flex: 1; min-width: 0; font-size: 15.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot-field b { padding: 19px 32px; background: var(--orange); color: #fff; font-weight: 600; transition: background-color 0.15s ease; }
.foot-field:hover b { background: var(--orange-deep); }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 54px 0 38px; }
.foot-logo { text-decoration: none; align-self: start; }
.foot-logo .wordmark { color: #e4ecf1; }
.foot-col b { display: block; margin-bottom: 8px; color: #fff; font-weight: 600; font-size: 15px; }
.foot-col a { display: block; padding: 4px 0; font-size: 15px; color: #c3d2dc; text-decoration: none; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; }
.foot-bottom b { color: #fff; font-weight: 600; }
.foot-addr a { color: #fff; text-decoration: none; }
.foot-addr a:hover { text-decoration: underline; }
.foot-note { margin-top: 3px; color: #9fb4c3; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: #c3d2dc; background: rgba(255, 255, 255, 0.06); }
.foot-social a:hover { color: #fff; background: rgba(255, 255, 255, 0.12); }

/* ================================================================ page 1 */
/* the sky-blue band behind the top of the page, continuing the menu's colour */
.sky-top { position: absolute; z-index: 0; left: 0; right: 0; top: 0; height: 364px; background: var(--sky); overflow: hidden; }
.sky-top--short { height: 330px; }
.dots--right { right: -70px; top: 54px; }

.page-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 560fr) minmax(0, 520fr); column-gap: 80px; align-items: start; padding-top: 40px; }
.col { position: relative; }

.crumbs { display: flex; gap: 10px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.crumbs a, .crumbs span { text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs > * + *::before { content: "›"; margin-right: 10px; color: var(--mist); }
.crumbs span { color: var(--navy); }
.title { margin-top: 12px; font-size: 60px; line-height: 1.04; letter-spacing: -0.035em; }
/* tight letters, but a full space between words, so a PDF reader still finds them */
.title, .stile b, .kpis b, .why h2, .pains h2, .block-head h2 { word-spacing: 0.08em; }
.facts { display: flex; gap: 40px; margin-top: 30px; }
.facts li { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 96px; }
.fact-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--navy); box-shadow: var(--shadow-soft); }
.facts b { margin-top: 10px; font-size: 15px; line-height: 1.2; color: var(--ink); }
.facts span:not(.fact-ico) { font-size: 13px; color: var(--muted); line-height: 1.35; white-space: nowrap; }

/* the status card, where a product page has its box */
.status {
  position: relative; z-index: 2; width: 410px; margin-left: auto; padding: 26px 26px 20px;
  background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(19, 43, 57, 0.45), 0 2px 6px rgba(19, 43, 57, 0.05);
}
.status-head { display: flex; align-items: center; gap: 14px; }
.status-ico { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 13px; background: var(--orange); color: #fff; }
.status-head b { display: block; font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.25; }
.status-head p span { display: block; font-size: 14px; font-weight: 500; color: var(--orange-ink); line-height: 1.3; }
.status-dot { margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(253, 123, 65, 0.18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px 7px 11px; background: var(--navy); color: #fff; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; }
.chip .ico { color: var(--orange); }
.stiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.stile { padding: 14px 16px 13px; background: var(--peach); border-radius: 14px; }
.stile span { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ink); }
.stile b { display: block; margin-top: 8px; font-size: 27px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--navy); }
.stile small { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.track { margin-top: 12px; padding: 13px 16px 9px; border: 1px solid var(--line); border-radius: 14px; }
.track-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 500; color: var(--ink); }
.track-head span { display: flex; align-items: center; gap: 8px; }
.track-head em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--orange-ink); }
.track-bars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 12px; }
.track-bars li { flex: 1; height: var(--h); min-height: 4px; background: #fdc3a6; border-radius: 3px 3px 2px 2px; }
.track-bars li:nth-child(even) { background: #fcab84; }
.track-bars li:last-child { background: var(--orange); }
.track-axis { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11px; color: var(--mist); }
.dtiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.dtile { display: flex; align-items: center; gap: 11px; padding: 12px 14px; background: var(--navy); color: #fff; border-radius: 12px; }
.dtile .ico { color: #b9cad6; }
.dtile span { font-size: 11.5px; line-height: 1.2; color: #b9cad6; }
.dtile b { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 600; color: #fff; }
.status-btn { display: flex; width: 100%; margin-top: 16px; }
.status-link { margin-top: 12px; text-align: center; font-size: 14px; }
.status-link a, .letter a, .quote-reply a { color: var(--navy); font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.status-note { margin-top: 3px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* the letter */
.letter { margin-top: 62px; font-size: 15.5px; line-height: 1.62; }
.col + .col .letter { margin-top: 40px; }
.letter section + section { margin-top: 28px; }
.letter h2 { font-size: 24px; line-height: 1.2; }
.kicker { margin-top: 2px; font-size: 14px; font-weight: 600; color: var(--orange-ink); }
.letter .kicker + p { margin-top: 10px; }
.letter p + p { margin-top: 10px; }
.letter strong { color: var(--ink); }
.lead-in { font-weight: 600; color: var(--ink); }
.dots-list { display: grid; gap: 5px; margin: 8px 0 16px; }
.dots-list li { position: relative; padding-left: 22px; }
.dots-list li::before { content: ""; position: absolute; left: 3px; top: 0.62em; width: 8px; height: 8px; border-radius: 2.5px; background: var(--orange); }

/* the person behind the application, as on the posting's team page */
.human {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: center;
  margin-top: 60px; padding: 40px 64px 40px 52px; background: var(--sky); border-radius: 28px;
  font-size: 15.5px; line-height: 1.6;
}
.human h2 { margin-top: 14px; font-size: 30px; line-height: 1.15; }
.human .kicker { margin-top: 4px; }
.human-cols { display: flex; justify-content: space-between; gap: 36px; margin-top: 18px; }
.values { display: grid; gap: 10px; max-width: 470px; }
.values li { display: flex; align-items: flex-start; gap: 12px; }
.values li > span:last-child { line-height: 1.5; }
.values b { display: block; color: var(--ink); }
.reach { display: grid; gap: 12px; align-content: start; flex: none; }
.reach li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--navy); }
.reach .ico { color: var(--orange-ink); }
.reach a { text-decoration: none; }
.reach a:hover { text-decoration: underline; }
.human p { margin-top: 16px; }
.human .ps { margin-top: 8px; font-size: 14px; color: var(--muted); }
.human-team { width: 270px; margin-right: 30px; }

/* ================================================================ page 2 */
.cv-top { position: relative; z-index: 1; padding-top: 40px; }
.cv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 60px; }
.quote { width: 430px; margin-top: 6px; }
.quote-bubble {
  position: relative; padding: 20px 26px 18px; background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  font-family: var(--hand); font-weight: 600; font-size: 28px; line-height: 1.1; color: var(--navy);
}
.quote-bubble span { display: block; margin-top: 8px; font-family: var(--sans); font-weight: 500; font-size: 12.5px; color: var(--muted); }
.quote-bubble::after { content: ""; position: absolute; left: 46px; bottom: -11px; width: 24px; height: 24px; background: #fff; transform: rotate(45deg); border-radius: 0 0 6px 0; }
.quote-reply { margin-top: 26px; padding-left: 30px; font-size: 15.5px; line-height: 1.5; }

.cv-panel { position: relative; margin-top: 84px; }
.cv-inner { position: relative; z-index: 1; width: min(1040px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.cv-inner h2 { display: flex; align-items: center; gap: 18px; font-size: 26px; line-height: 1.1; }
.cv-inner h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cv-inner h2:not(:first-child) { margin-top: 38px; }
.cv-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; line-height: 1.35; }
.cv-table th { text-align: left; padding: 6px 14px 7px 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 1.5px solid var(--navy); }
.cv-table td { height: 46px; padding: 5px 14px 5px 0; vertical-align: middle; border-bottom: 1px solid var(--line); }
.cv-table td:first-child { width: 21%; font-weight: 700; color: var(--ink); }
.cv-table th:nth-child(2), .cv-table td:nth-child(2) { width: 13%; white-space: nowrap; color: var(--muted); }
.cv-table th:nth-child(3), .cv-table td:nth-child(3) { width: 27%; }
.cv-table td:nth-child(3) { font-weight: 500; color: var(--navy); }
.cv-table small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.cv-arrow { margin: -2px 1px 0; }
.kit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.kit section { padding: 20px 20px 22px; background: var(--sky-soft); border-radius: 18px; }
.kit h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.2; }
.kit-ico { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 11px; background: #fff; color: var(--orange-ink); }
.kit ul { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.pill { padding: 5px 12px; background: #fff; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.35; color: var(--navy); box-shadow: inset 0 0 0 1px var(--line); }

/* ------------------------------------------------------------------ 404 */
.lost { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 0 10px; }
.lost .title { margin-top: 26px; }
.lost p { margin-top: 14px; font-size: 18px; }
.lost-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
