:root {
  --paper: #f4f1ea;
  --paper-deep: #ebe6db;
  --card: #fbfaf6;
  --ink: #17151f;
  --ink-soft: #4a4655;
  --muted: #8a8478;
  --line: #e0dacd;
  --violet: #5b3df5;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* Nav */
nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo .mark { width: 30px; height: 30px; }
.logo svg.word { height: 13px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a.quiet { color: var(--ink-soft); }
.nav-links a.quiet:hover { color: var(--ink); }
.nav-links a.lang {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-soft);
  padding: 5px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line);
}
.nav-links a.lang:hover { color: var(--ink); background: var(--paper-deep); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--paper);
  padding: 11px 20px; border-radius: 12px;
  font-weight: 500; font-size: 15px;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #2b2836; transform: translateY(-1px); }
.btn.small { padding: 8px 15px; font-size: 14px; border-radius: 10px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { background: var(--paper-deep); }

/* Hero */
.hero { text-align: center; padding-top: 96px; padding-bottom: 64px; }
.tag {
  display: inline-block; font-family: var(--mono); font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  background: var(--paper-deep); padding: 6px 12px; border-radius: 8px;
}
h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 7vw, 84px); line-height: 1.02; letter-spacing: -0.02em;
  margin: 28px auto 0; max-width: 900px;
}
h1 em { font-style: italic; color: var(--violet); }
.lede { color: var(--ink-soft); font-size: 18px; max-width: 600px; margin: 24px auto 0; }
.actions { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.facts {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  margin-top: 40px; font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.facts b { color: var(--ink); font-weight: 500; }

/* App screens: copies of the app's views, with the app's own tokens
   (apps/web/src/app/globals.css) and fictional data. */
.app, .mock {
  --a-fg: oklch(0.24 0.03 275);
  --a-muted: oklch(0.54 0.025 275);
  --a-primary: oklch(0.51 0.23 277);
  --a-secondary: oklch(0.96 0.02 280);
  --a-secondary-fg: oklch(0.38 0.14 277);
  --a-border: oklch(0.93 0.012 280);
  --a-input: oklch(0.91 0.014 280);
  --a-shadow: 0 1px 2px oklch(0.3 0.08 277 / 0.04), 0 8px 28px -6px oklch(0.3 0.08 277 / 0.09);
  font-family: "Inter", system-ui, sans-serif; color: var(--a-fg); text-align: left; font-size: 13px; line-height: 1.4;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, oklch(0.95 0.035 305) 0%, oklch(0.958 0.03 275) 45%, oklch(0.965 0.026 240) 100%);
  box-shadow: 0 1px 0 rgba(23,21,31,.04), 0 30px 60px -30px rgba(23,21,31,.3);
}
.app svg.i, .mock svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.app { display: flex; gap: 12px; padding: 12px; max-width: 1040px; margin: 24px auto 0; }
.app-side { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 6px 4px; color: oklch(0.32 0.03 275); }
.app-side img { width: 26px; height: 26px; margin-bottom: 8px; }
.app-side .on { color: var(--a-primary); background: oklch(1 0 0 / .75); border-radius: 8px; padding: 6px; margin: -6px; display: grid; }
.app-main {
  flex: 1; min-width: 0; background: oklch(0.992 0.004 280); border-radius: 18px; padding: 22px 22px 18px;
  box-shadow: var(--a-shadow);
}
.app-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.app-head p { color: var(--a-muted); font-size: 13px; margin-top: 2px; }
.app-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.app-field {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  background: #fff; border: 1px solid var(--a-input); border-radius: 999px; font-size: 13px; white-space: nowrap;
}
.app-field.wide { min-width: 200px; }
.app-field svg.i { width: 14px; height: 14px; color: var(--a-muted); }
.app-count { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--a-muted); }
.app-count .lead {
  display: inline-flex; align-items: center; gap: 6px; background: var(--a-primary); color: #fff;
  border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 500;
}
.app-count .lead svg.i { width: 12px; height: 12px; }
.app-count .pages { margin-left: auto; font-variant-numeric: tabular-nums; }
.app-table {
  margin-top: 12px; background: linear-gradient(180deg, #fff 0%, oklch(0.993 0.005 280) 100%);
  border-radius: 22px; box-shadow: var(--a-shadow); padding: 8px; overflow: hidden;
}
.app-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.app-table th { height: 40px; text-align: left; font-weight: 500; color: var(--a-muted); padding: 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-table td { padding: 10px 8px; border-top: 1px solid var(--a-border); vertical-align: middle; }
.app-table td.t { font-weight: 500; }
.app-table tr.sel td { background: oklch(0.97 0.008 280); }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 500; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.remote { background: var(--a-secondary); color: var(--a-secondary-fg); }
.src-ft { background: #dbeafe; color: #1e40af; }
.src-li { background: #e0f2fe; color: #075985; }
.src-wttj { background: #fef9c3; color: #854d0e; }
.src-gh { background: #d1fae5; color: #065f46; }
.src-tt { background: #fce7f3; color: #9d174d; }
.new { background: oklch(0.51 0.23 277 / .1); color: var(--a-primary); font-size: 11px; padding: 0 6px; margin-top: 4px; }
.sig { display: flex; gap: 4px; }
.sig span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.sig svg.i { width: 14px; height: 14px; }
.sig .hard, .sig .fresh { background: #ffedd5; color: #ea580c; }
.sig .grow { background: #d1fae5; color: #059669; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Steps */
.steps { padding-top: 120px; padding-bottom: 40px; }
.steps h2, .features h2 {
  font-family: var(--serif); font-weight: 400; text-align: center;
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.015em;
  max-width: 820px; margin: 22px auto 0; color: var(--ink);
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.step { background: var(--card); border-radius: 18px; padding: 28px; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; margin: 18px 0 12px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.sources span { font-family: var(--mono); font-size: 11px; color: var(--ink-soft); background: var(--paper); padding: 4px 8px; border-radius: 6px; }

/* Features: Push CV and the follow-up board */
.features { padding-top: 80px; padding-bottom: 40px; }
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-top: 88px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.feature-text .n { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.feature-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 42px); line-height: 1.06; letter-spacing: -0.01em; margin: 16px 0 14px; }
.feature-text p { color: var(--ink-soft); font-size: 16px; }
.points { list-style: none; margin-top: 20px; display: grid; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.points li { display: flex; gap: 10px; }
.points li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); margin-top: 9px; }
.mock { padding: 12px; font-size: 12.5px; }
.panel { background: oklch(0.992 0.004 280); border-radius: 16px; padding: 16px; box-shadow: var(--a-shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-head b { font-size: 14px; font-weight: 600; }
.panel-head span { color: var(--a-muted); }

/* Push CV mock */
.push { display: grid; grid-template-columns: 9fr 11fr; gap: 12px; }
.cv { background: #fff; border-radius: 12px; padding: 16px; box-shadow: var(--a-shadow); display: flex; flex-direction: column; gap: 10px; }
.cv-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cv-top .badge { background: oklch(0.51 0.23 277 / .1); color: var(--a-primary); }
.cv-top .ok { background: #d1fae5; color: #065f46; }
.cv h4 { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.cv .meta { color: var(--a-muted); }
.cv .line { height: 6px; border-radius: 4px; background: var(--a-border); }
.cv .line.s { width: 70%; }
.cv .line.xs { width: 45%; }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips span { background: var(--a-secondary); color: var(--a-secondary-fg); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 500; }
.cv .by { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--a-border); color: var(--a-muted); font-size: 11px; }
.matches { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.match { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--a-border); border-radius: 10px; padding: 8px 10px; }
.match .box { flex: none; width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--a-input); display: grid; place-items: center; }
.match .box.on { background: var(--a-primary); border-color: var(--a-primary); color: #fff; }
.match .box svg.i { width: 11px; height: 11px; stroke-width: 3; }
.match .what { flex: 1; min-width: 0; }
.match .what b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.match .what span { color: var(--a-muted); font-size: 11.5px; }
.send { margin-top: 12px; display: flex; justify-content: flex-end; }
.send span { display: inline-flex; align-items: center; gap: 6px; background: var(--a-primary); color: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 500; }
.send svg.i { width: 13px; height: 13px; }

/* Follow-up board mock */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.col { background: oklch(0.97 0.008 280); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.col-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; white-space: nowrap; font-weight: 600; font-size: 12px; padding: 2px 2px 4px; }
.col-head span { color: var(--a-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.card { background: #fff; border-radius: 9px; padding: 8px 9px; box-shadow: 0 1px 2px oklch(0.3 0.08 277 / 0.06); border-left: 3px solid var(--k); }
.card b { display: block; font-weight: 500; font-size: 12px; line-height: 1.3; }
.card span { display: block; color: var(--a-muted); font-size: 11px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .badge { display: inline-flex; margin-top: 6px; font-size: 10.5px; background: var(--a-secondary); color: var(--a-secondary-fg); }
.card.offer { --k: oklch(0.51 0.23 277); }
.card.cv-sent { --k: oklch(0.62 0.17 245); }
.card.lead { --k: oklch(0.76 0.15 75); }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: var(--a-muted); font-size: 11.5px; }
.legend i { display: inline-block; width: 10px; height: 3px; border-radius: 2px; background: var(--k); margin-right: 6px; vertical-align: middle; }

/* Testimonials carousel: every card in one grid cell (same size as the
   tallest), shifted by --pos; the centered card is larger. */
.voices { margin: 56px auto 0; text-align: left; overflow: hidden; padding: 12px 0; }
.quotes-track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding: 16px 0 28px; }
.quotes-track { display: grid; justify-items: center; }
.quote {
  grid-area: 1 / 1; width: min(380px, 78vw); margin: 0;
  background: var(--card); border-radius: 18px; padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px;
  transform: translateX(calc(var(--pos) * (100% + 20px))) scale(.86);
  opacity: 0; visibility: hidden; cursor: pointer;
  transition: transform .5s cubic-bezier(.3,.7,.2,1), opacity .5s ease, box-shadow .5s ease, visibility .5s;
}
.quote[data-pos="-1"], .quote[data-pos="1"] { opacity: .55; visibility: visible; }
.quote[data-pos="0"] {
  opacity: 1; visibility: visible; cursor: default; z-index: 1;
  transform: translateX(0) scale(1.04);
  box-shadow: 0 1px 2px rgb(23 21 31 / .04), 0 18px 40px -16px rgb(23 21 31 / .18);
}
.quote blockquote { font-size: 15px; color: var(--ink-soft); }
.quote blockquote::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 52px; line-height: 0.6; color: var(--violet); margin-bottom: 8px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.quote figcaption > span:last-child { display: flex; flex-direction: column; }
.quote figcaption b { font-weight: 600; color: var(--ink); }
.quote figcaption b + span { color: var(--muted); font-size: 13px; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-deep); color: var(--ink-soft); font-family: var(--mono); font-size: 12px; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quotes-nav button { border: 0; padding: 0; background: none; font: inherit; cursor: pointer; }
.quotes-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.quotes-nav .arrow { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s ease; }
.quotes-nav .arrow:hover { background: var(--paper-deep); }
.quotes-nav .arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dots { display: flex; gap: 6px; }
.quotes-nav .dots button { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: width .3s ease, background .3s ease; }
.quotes-nav .dots button[aria-current="true"] { width: 22px; background: var(--violet); }
.quotes-note { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .quote { transition: none; } }

/* Closing */
.closing { text-align: center; padding-top: 120px; padding-bottom: 110px; }
.closing h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.015em; }
.closing p { color: var(--ink-soft); margin: 18px auto 32px; max-width: 520px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 32px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
footer svg.word { height: 10px; width: auto; color: var(--ink-soft); }

/* Request access popup (access.js) */
button.btn { border: 0; font-family: inherit; cursor: pointer; }
button.btn:disabled { opacity: .6; cursor: default; transform: none; }
dialog.access {
  width: min(480px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto;
  border: 0; border-radius: 22px; padding: 32px; background: var(--card); color: var(--ink);
  box-shadow: 0 24px 64px -16px rgb(23 21 31 / .35);
}
dialog.access::backdrop { background: rgb(23 21 31 / .45); backdrop-filter: blur(2px); }
dialog.access h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; padding-right: 28px; }
.access-intro { color: var(--ink-soft); font-size: 15px; margin: 10px 0 20px; }
.access-close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink-soft); cursor: pointer;
}
.access-close:hover { background: var(--paper-deep); color: var(--ink); }
.access-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.access-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; margin-top: 14px; }
.access-form input, .access-form textarea {
  font: inherit; font-weight: 400; font-size: 15px; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; width: 100%;
}
.access-form textarea { resize: vertical; min-height: 84px; }
.access-form input:focus, .access-form textarea:focus { outline: 2px solid var(--violet); outline-offset: -1px; border-color: transparent; }
.access-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.access-error { color: #b42318; font-size: 14px; margin-top: 14px; }
.access-privacy { color: var(--muted); font-size: 13px; margin-top: 16px; }
.access-privacy a { text-decoration: underline; }
.access-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.access-done { text-align: center; padding: 8px 0; }
.access-done p { color: var(--ink-soft); margin: 10px 0 24px; }
.access-check {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; margin-bottom: 16px;
  background: rgb(91 61 245 / .12); color: var(--violet);
}
.access-check svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 520px) { dialog.access { padding: 24px 20px; } }

@media (max-width: 1100px) {
  .board { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .app-table .c-loc, .app-table .c-remote, .app-table .c-date { display: none; }
}
@media (max-width: 820px) {
  .hero { padding-top: 56px; }
  .grid { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; margin-top: 64px; }
  .feature.flip .feature-text { order: 0; }
  .push { grid-template-columns: 1fr; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .nav-links a.quiet { display: none; }
  .nav-links { gap: 10px; }
  .logo svg.word { height: 10px; }
  .facts { gap: 6px 18px; }
  .app { padding: 8px; }
  .app-side { display: none; }
  .app-main { padding: 16px 12px 12px; }
  .app-field.opt, .app-count .pages { display: none; }
  .app-field.wide { min-width: 0; }
  .app-table .c-contract, .app-table .c-src { display: none; }
  .app-table col:nth-child(1) { width: 42% !important; }
  .app-table col:nth-child(6) { width: 22% !important; }
}
