/*
 * fairlyapp.io (FT-82). Colours come from the brand kit
 * (brand/logo/kit/guidelines.md §4) and the app's neutral tokens. Coral is
 * the logo's only; nothing here paints with it (ADR-0011).
 */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;

  --paper: #f7f6f3;
  --surface: #ffffff;
  --ink: #1f1e1b;
  --ink-secondary: #4b4a45;
  --ink-muted: #686661;
  --rule: #e4e2dd;
  --rule-strong: #8e8b84;
  --teal: #1b6c80;
  --teal-dark: #155a6a;
  --teal-tint: #e6f0f2;
  --teal-light: #8cc9d8;
  --flag: #6e3c0b;
  --flag-mark: #c4610f;
  --flag-tint: #faeedf;
  --placeholder: #6a4f0c;
  --placeholder-tint: #f7eed3;
  --bar: #efeee9;
  --rule-light: #d6d3cc;
  --flag-line: #efd3b4;
  --success: #245a39;
  --success-tint: #e8f2eb;
  --success-line: #c7dfcf;
  --person-a: #1c5363;
  --person-a-tint: #d6e7eb;
  --person-b: #74421d;
  --person-b-tint: #f1e1d1;
  --person-c: #5b4628;
  --person-c-tint: #ebe3d4;
  --ink-rule: #4b4a45;
  --ink-quiet: #d9d7d2;

  --font-display: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  --font-body: Inter, "Segoe UI", system-ui, sans-serif;

  --measure: 68ch;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.375rem, 5.2vw, 3.75rem);
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  max-width: 24ch;
}

h3 {
  font-size: 1.1875rem;
  line-height: 1.3;
}

p {
  margin: 0;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--teal-dark);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--surface);
}

.skip-link:focus {
  top: 1rem;
}

/* The skip link's target; focus lands here without a ring round the page. */
main:focus {
  outline: none;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.site-header__logo {
  display: block;
  padding-block: 0.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.625rem 0.75rem;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav .site-nav__sign-in {
  margin-left: 0.5rem;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  color: var(--ink);
}

.site-nav .site-nav__sign-in:hover {
  border-color: var(--ink-secondary);
}

@media (max-width: 47.99rem) {
  .site-nav__section {
    display: none;
  }
}

/* Buttons */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.button--primary {
  background: var(--teal);
  color: var(--surface);
}

.button--primary:hover {
  background: var(--teal-dark);
  color: var(--surface);
}

.button--secondary {
  border-color: var(--rule-strong);
  color: var(--ink);
}

.button--secondary:hover {
  border-color: var(--ink-secondary);
  color: var(--ink);
}

.button--on-teal {
  background: var(--surface);
  color: var(--teal-dark);
}

.button--on-teal:hover {
  background: var(--paper);
  color: var(--ink);
}

.button--on-teal:focus-visible {
  outline-color: var(--surface);
}

/* Hero */

.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  }
}

.hero__copy {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 11ch;
}

.lede {
  max-width: 34rem;
  color: var(--ink-secondary);
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
}

.hero__for {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.9375rem;
}

.ticks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-secondary);
  font-size: 0.9375rem;
}

.ticks li,
.checks li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

/* A drawn check mark. */
.ticks li::before,
.checks li::before {
  content: "";
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.6875rem;
  margin-inline: 0.125rem 0.25rem;
  border: solid var(--teal);
  border-width: 0 2px 2px 0;
  transform: translateY(-0.0625rem) rotate(45deg);
}

/* Product window: shared by the demo and the real screens. */

.window,
.shot {
  margin: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow:
    0 1px 0 var(--rule),
    0 24px 48px -28px rgb(31 30 27 / 32%);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 0.875rem;
  background: var(--bar);
  border-bottom: 1px solid var(--rule);
}

.window__dots {
  flex-shrink: 0;
  width: 0.5625rem;
  height: 0.5625rem;
  margin-right: 1.75rem;
  border-radius: 50%;
  background: var(--rule-light);
  box-shadow:
    0.875rem 0 var(--rule-light),
    1.75rem 0 var(--rule-light);
}

.window__url {
  overflow: hidden;
  padding: 0.125rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 0.75rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* The hero demo */

.demo {
  margin: 0;
}

.demo__stage {
  display: grid;
  background: var(--paper);
}

.scene {
  grid-area: 1 / 1;
  display: grid;
  gap: 0.875rem;
  align-content: start;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  font-size: 0.875rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0s linear 0.35s;
}

.demo[data-step="1"] .scene--answer,
.demo[data-step="2"] .scene--mark,
.demo[data-step="3"] .scene--compare {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}

/* Scene 1: the candidate answers. */

.scene__company {
  font-weight: 700;
}

.scene__meta {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

.scene__task {
  padding: 0.75rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  color: var(--ink-secondary);
}

.typing {
  padding: 0.75rem 0.875rem;
  background: var(--surface);
  border: 2px solid var(--teal);
  border-radius: 8px;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* The full answer, invisible, holds the box at its final height. */
.typing p {
  position: relative;
}

.typing__ghost {
  visibility: hidden;
}

.typing__live {
  position: absolute;
  inset: 0;
}

.typing__caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: var(--teal);
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.save-state {
  justify-self: start;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success);
  font-size: 0.8125rem;
  font-weight: 600;
}

.demo[data-saved="false"] .save-state {
  background: var(--bar);
  color: var(--ink-muted);
}

.demo[data-saved="false"] .save-state__saved,
.save-state__saving {
  display: none;
}

.demo[data-saved="false"] .save-state__saving {
  display: inline;
}

/* Scene 2: the reviewer marks. */

.marked-answer {
  padding: 0.75rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  line-height: 1.7;
}

.hl {
  padding: 0.05em 0.1em;
  color: inherit;
  background: var(--teal-tint);
  box-shadow: inset 0 -2px 0 var(--teal);
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hl--flag {
  background: var(--flag-tint);
  box-shadow: none;
  text-decoration: underline wavy var(--flag-mark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.3em;
}

.hl sup {
  margin-left: 0.15em;
  font-size: 0.7em;
  font-weight: 700;
  color: var(--teal-dark);
}

.hl--flag sup {
  color: var(--flag);
}

@media (forced-colors: active) {
  .hl {
    text-decoration: underline;
  }
}

.guide {
  display: grid;
  gap: 0.375rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: guide;
}

.guide__row {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  counter-increment: guide;
}

.guide__row::before {
  content: counter(guide);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.guide__name {
  font-weight: 600;
}

.guide__score {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.guide__row--flag {
  background: var(--flag-tint);
  border-color: var(--flag-line);
}

.guide__row--flag::before,
.guide__row--flag .guide__score {
  color: var(--flag);
}

.guide__note {
  grid-column: 2 / -1;
  color: var(--flag);
  font-size: 0.8125rem;
}

.pips {
  display: flex;
  gap: 3px;
}

.pips i {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 2px;
  background: var(--rule);
}

.pips--4 i,
.pips--1 i:first-child {
  background: var(--teal);
}

.guide__row--flag .pips--1 i:first-child {
  background: var(--flag-mark);
}

/* Scene 3: you compare. */

.mini-compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-size: 0.8125rem;
}

.mini-compare th,
.mini-compare td {
  padding: 0.625rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: middle;
}

.mini-compare thead th {
  font-weight: 600;
  white-space: nowrap;
}

.mini-compare tbody th {
  width: 34%;
  color: var(--ink-secondary);
  font-weight: 500;
}

.mini-compare td {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mini-compare tbody tr:last-child > * {
  border-bottom: 0;
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 1.625rem;
  height: 1.625rem;
  margin-right: 0.375rem;
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  vertical-align: middle;
}

.avatar--a {
  background: var(--person-a-tint);
  color: var(--person-a);
}

.avatar--b {
  background: var(--person-b-tint);
  color: var(--person-b);
}

.avatar--c {
  background: var(--person-c-tint);
  color: var(--person-c);
}

.bar {
  display: block;
  height: 0.375rem;
  margin-bottom: 0.25rem;
  overflow: hidden;
  border-radius: 3px;
  background: var(--rule);
}

.bar__fill {
  display: block;
  height: 100%;
  background: var(--teal);
  transform-origin: left;
}

.bar__fill--100 {
  width: 100%;
}

.bar__fill--91 {
  width: 91%;
}

.bar__fill--81 {
  width: 81%;
}

.bar__fill--16 {
  width: 16%;
}

.bar__fill--0 {
  width: 0;
}

.decision-chip {
  display: grid;
  gap: 0.125rem;
  justify-self: start;
  padding: 0.625rem 0.875rem 0.625rem 2.25rem;
  position: relative;
  background: var(--success-tint);
  border: 1px solid var(--success-line);
  border-radius: 8px;
  color: var(--success);
}

.decision-chip::before {
  content: "";
  position: absolute;
  left: 0.9375rem;
  top: 0.8125rem;
  width: 0.375rem;
  height: 0.6875rem;
  border: solid var(--success);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.decision-chip span {
  color: var(--ink-secondary);
  font-size: 0.8125rem;
}

/* The demo's sequence, replayed each time a scene is shown. */

@media (prefers-reduced-motion: no-preference) {
  .demo.is-running[data-step="2"] .hl {
    animation: mark-in 0.5s ease both;
  }

  .demo.is-running[data-step="2"] .hl--1 {
    animation-delay: 0.4s;
  }

  .demo.is-running[data-step="2"] .hl--2 {
    animation-delay: 1.2s;
  }

  .demo.is-running[data-step="2"] .hl--3 {
    animation-delay: 2s;
  }

  .demo.is-running[data-step="2"] .hl--4 {
    animation-delay: 2.8s;
  }

  .demo.is-running[data-step="2"] .guide__row {
    animation: rise 0.45s ease both;
  }

  .demo.is-running[data-step="2"] .guide__row:nth-child(1) {
    animation-delay: 0.6s;
  }

  .demo.is-running[data-step="2"] .guide__row:nth-child(2) {
    animation-delay: 1.4s;
  }

  .demo.is-running[data-step="2"] .guide__row:nth-child(3) {
    animation-delay: 2.2s;
  }

  .demo.is-running[data-step="2"] .guide__row:nth-child(4) {
    animation-delay: 3s;
  }

  .demo.is-running[data-step="3"] .bar__fill {
    animation: grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .demo.is-running[data-step="3"] tbody tr:nth-child(2) .bar__fill {
    animation-delay: 0.25s;
  }

  .demo.is-running[data-step="3"] tbody tr:nth-child(3) .bar__fill {
    animation-delay: 0.5s;
  }

  .demo.is-running[data-step="3"] .decision-chip {
    animation: rise 0.45s ease 2.2s both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene {
    transition: none;
  }

  .typing__caret {
    animation: none;
  }
}

@keyframes mark-in {
  from {
    background-color: transparent;
    box-shadow: none;
    text-decoration-color: transparent;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.375rem);
  }
}

@keyframes grow {
  from {
    transform: scaleX(0);
  }
}

/* Demo controls: a level beam with three stops, like the logo's. */

.demo__controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.demo[data-js] .demo__controls {
  display: flex;
}

.beam {
  position: relative;
  display: flex;
  flex: 1;
  justify-content: space-between;
  max-width: 28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.beam::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  right: 1.375rem;
  top: 1.375rem;
  height: 2px;
  background: var(--rule-strong);
}

.beam__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.25rem;
  border: 0;
  background: none;
  color: var(--ink-secondary);
  font: inherit;
  font-size: 0.8125rem;
  cursor: pointer;
}

.beam__dot {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.75rem;
  font-weight: 700;
}

.beam__step[aria-current="step"] {
  color: var(--ink);
  font-weight: 600;
}

.beam__step[aria-current="step"] .beam__dot {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--surface);
}

.beam__step:hover .beam__dot {
  border-color: var(--teal);
}

.demo__pause {
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.demo figcaption {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

/* Sections */

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--rule);
}

.section h2 {
  max-width: 22ch;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.section-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-intro h2 {
  margin-bottom: 0;
}

.section-intro p {
  max-width: 40rem;
  color: var(--ink-secondary);
  font-size: 1.125rem;
}

.small-print {
  margin-top: 1.5rem;
  color: var(--ink-muted);
  font-size: 0.875rem;
}

/* The problem: three drawn illustrations. */

.problem__list {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .problem__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.problem__card {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.problem__card p {
  color: var(--ink-secondary);
}

.art {
  position: relative;
  height: 9rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bar);
}

/* Three identical CVs. */
.art--cvs span {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  width: 5rem;
  height: 6.25rem;
  margin-left: -2.5rem;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background-color: var(--surface);
  background-image:
    radial-gradient(
      circle at 1.1rem 1.1rem,
      var(--rule) 0.45rem,
      transparent 0.5rem
    ),
    linear-gradient(var(--rule-strong), var(--rule-strong)),
    linear-gradient(var(--rule), var(--rule)),
    linear-gradient(var(--rule), var(--rule)),
    linear-gradient(var(--rule), var(--rule)),
    linear-gradient(var(--rule), var(--rule));
  background-size:
    auto,
    1.75rem 0.25rem,
    3.5rem 0.25rem,
    3.25rem 0.25rem,
    3.5rem 0.25rem,
    2.25rem 0.25rem;
  background-position:
    0 0,
    2rem 0.95rem,
    0.75rem 2.4rem,
    0.75rem 3.15rem,
    0.75rem 3.9rem,
    0.75rem 4.65rem;
  background-repeat: no-repeat;
  box-shadow: 0 6px 14px -10px rgb(31 30 27 / 35%);
}

.art--cvs span:nth-child(1) {
  transform: translateX(-3.5rem) rotate(-8deg);
}

.art--cvs span:nth-child(3) {
  transform: translateX(3.5rem) rotate(8deg);
}

/* A week of calls. */
.art--calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.375rem;
  align-content: center;
  padding: 1rem 1.5rem;
}

.art--calendar i {
  height: 1.875rem;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--rule);
}

.art--calendar i.on {
  border-color: transparent;
  border-left: 3px solid var(--teal);
  background: var(--teal-tint);
}

/* One answer, three different scores. */
.art--marks {
  display: grid;
  gap: 0.625rem;
  align-content: center;
  padding: 1.25rem 2.5rem;
}

.art__line {
  height: 0.375rem;
  border-radius: 3px;
  background: var(--rule-strong);
  opacity: 0.45;
}

.art__line--short {
  width: 60%;
}

.art__mark {
  position: absolute;
  padding: 0.125rem 0.5rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
}

.art__mark--a {
  top: 0.75rem;
  left: 1.25rem;
  color: var(--teal-dark);
  transform: rotate(-8deg);
}

.art__mark--b {
  top: 3.5rem;
  right: 1.5rem;
  color: var(--flag);
  transform: rotate(6deg);
}

.art__mark--c {
  bottom: 0.75rem;
  left: 40%;
  color: var(--ink);
  transform: rotate(-3deg);
}

/* How it works: real screens. Stacked by default; on wide screens with the
   script, the four steps become a row of tabs over one large screen. */

.tour {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.tour__step {
  display: grid;
  gap: 1.25rem;
}

.tour__text {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 0.875rem;
  align-content: start;
}

.tour__number {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--surface);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.tour__text h3 {
  font-size: clamp(1.1875rem, 2vw, 1.375rem);
}

.tour__text p {
  color: var(--ink-secondary);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* With the script on wide screens: the steps scroll on the left while the
   screens stay pinned on the right, overlapping in one grid area; the step
   crossing the middle of the window shows its screen. */
@media (min-width: 56rem) {
  .tour[data-scroll] {
    grid-template-columns: minmax(15rem, 2fr) minmax(0, 5fr);
    gap: 0 clamp(2rem, 4vw, 4rem);
  }

  .tour[data-scroll] .tour__step {
    display: contents;
  }

  .tour[data-scroll] .tour__text {
    grid-column: 1;
    min-height: 72vh;
    align-content: center;
    color: var(--ink-muted);
    transition: color 0.3s ease;
  }

  .tour[data-scroll] .tour__text p {
    color: inherit;
  }

  .tour[data-scroll] .tour__step:nth-child(1) .tour__text {
    grid-row: 1;
  }
  .tour[data-scroll] .tour__step:nth-child(2) .tour__text {
    grid-row: 2;
  }
  .tour[data-scroll] .tour__step:nth-child(3) .tour__text {
    grid-row: 3;
  }
  .tour[data-scroll] .tour__step:nth-child(4) .tour__text {
    grid-row: 4;
  }

  .tour[data-scroll] .tour__text.is-active {
    color: var(--ink);
  }

  .tour[data-scroll] .tour__text.is-active p {
    color: var(--ink-secondary);
  }

  .tour[data-scroll] .tour__text:not(.is-active) .tour__number {
    background: var(--rule);
    color: var(--ink-secondary);
  }

  .tour[data-scroll] .tour__text h3 {
    font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  }

  .tour[data-scroll] .tour__text p {
    font-size: 1.125rem;
  }

  .tour[data-scroll] .shot {
    grid-column: 2;
    grid-row: 1 / 5;
    align-self: start;
    position: sticky;
    top: max(5.5rem, calc(50vh - 17rem));
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem) scale(0.985);
    /* Hidden only once faded out. */
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0s linear 0.35s;
  }

  .tour[data-scroll] .shot.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.35s ease,
      transform 0.35s ease,
      visibility 0s;
  }

  /* The switch into this layout happens at once; only later changes fade. */
  .tour[data-scroll]:not([data-ready]) .tour__text,
  .tour[data-scroll]:not([data-ready]) .shot {
    transition: none;
  }
}

@media (min-width: 56rem) and (prefers-reduced-motion: reduce) {
  .tour[data-scroll] .tour__text,
  .tour[data-scroll] .shot {
    transition: none;
    transform: none;
  }
}

.callout {
  max-width: 44rem;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--teal);
  background: var(--paper);
  border-radius: 0 10px 10px 0;
  font-size: 1.125rem;
  color: var(--ink-secondary);
}

.callout strong {
  color: var(--ink);
}

/* Pasted from ChatGPT? The evidence section. */

.section--evidence {
  background: var(--teal-tint);
  border-block: 1px solid var(--rule);
}

.evidence {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 56rem) {
  .evidence {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.evidence h2 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

.evidence__list {
  display: grid;
  gap: 0.875rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence__list li {
  position: relative;
  padding-left: 2rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  font-weight: 500;
}

.evidence__list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.3rem;
  width: 0.6875rem;
  height: 0.6875rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--surface);
}

.evidence__note {
  margin-top: 1.5rem;
  color: var(--ink-secondary);
}

.evidence-card {
  display: grid;
  gap: 1.125rem;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 28px 56px -32px rgb(31 30 27 / 40%);
}

.evidence-card__who {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.evidence-card__what {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.entry {
  display: grid;
  gap: 0.5rem;
}

.entry__bar {
  display: flex;
  height: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--bar);
}

.entry__typed {
  width: 25%;
  background: var(--teal);
}

.entry__pasted {
  width: 75%;
  background: var(--flag-mark);
}

.entry__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
}

.entry__key::before {
  content: "";
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.375rem;
  border-radius: 2px;
  vertical-align: -0.0625rem;
}

.entry__key--typed::before {
  background: var(--teal);
}

.entry__key--pasted::before {
  background: var(--flag-mark);
}

.timeline {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--rule);
}

.timeline__item {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.5rem 0 0.5rem 1rem;
  font-size: 0.9375rem;
}

.timeline__item--flag {
  margin-left: -2px;
  border-left: 2px solid var(--flag-mark);
  background: var(--flag-tint);
  color: var(--flag);
  font-weight: 600;
}

.timeline__time {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.timeline__item--flag .timeline__time {
  color: var(--flag);
}

.evidence-card__probe {
  display: grid;
  gap: 0.25rem;
  padding: 0.875rem 1rem;
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--font-display);
  font-size: 1.0625rem;
}

.evidence-card__probe span {
  color: var(--teal-dark);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
}

.evidence-card figcaption {
  color: var(--ink-muted);
  font-size: 0.8125rem;
}

/* Example tasks: each with a drawing of its material. */

.tasks {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .tasks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.task {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
}

.task__art {
  display: grid;
  height: 8.5rem;
  margin-bottom: 0.5rem;
  padding: 1rem;
  overflow: hidden;
  border-radius: 10px;
  background: var(--paper);
}

.task__role {
  justify-self: start;
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-size: 0.8125rem;
  font-weight: 600;
}

.task__prompt {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.3;
}

.task__skills {
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

/* Support: a message and a reply being written. */
.task__art--chat {
  align-content: center;
  gap: 0.625rem;
}

.bubble {
  max-width: 80%;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
}

.bubble--in {
  justify-self: start;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-bottom-left-radius: 4px;
}

.bubble--out {
  justify-self: end;
  display: grid;
  gap: 0.375rem;
  width: 62%;
  background: var(--teal);
  border-bottom-right-radius: 4px;
}

.bubble--out span {
  height: 0.375rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 70%);
}

.bubble--out .short {
  width: 55%;
}

/* Operations: two columns, one row that doesn't match. */
.task__art--sheet {
  grid-template-columns: repeat(2, minmax(0, 7rem));
  justify-content: center;
  align-content: center;
  gap: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.cell {
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  background: var(--surface);
  font-size: 0.875rem;
  text-align: right;
}

.cell:nth-child(-n + 2) {
  background: none;
  color: var(--ink-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: right;
}

.cell--miss {
  background: var(--flag-tint);
  color: var(--flag);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--flag-line);
}

/* Sales support: five requests, one moved up. */
.task__art--queue {
  align-content: center;
  gap: 0.3125rem;
}

.queue__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  height: 1.0625rem;
  padding-left: 0.375rem;
  border-radius: 4px;
  background: var(--surface);
}

.queue__item::after {
  content: "";
  flex: 1;
  max-width: 60%;
  height: 0.3125rem;
  border-radius: 999px;
  background: var(--rule-light);
}

.queue__item b {
  font-size: 0.6875rem;
  color: var(--ink-muted);
}

.queue__item--up {
  transform: translateX(0.75rem);
  box-shadow: 0 6px 14px -8px rgb(31 30 27 / 50%);
  outline: 2px solid var(--teal);
}

/* Analyst: a month of sign-ups, one channel dropping. */
.task__art--chart {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 0.625rem;
  padding-inline: 1.5rem;
}

.col {
  border-radius: 4px 4px 0 0;
  background: var(--teal-light);
}

.col--3 {
  height: 30%;
}
.col--5 {
  height: 50%;
}
.col--6 {
  height: 62%;
}
.col--7 {
  height: 76%;
}

.col--flag {
  background: var(--flag-mark);
}

/* Fair to candidates */

.fair {
  display: grid;
  gap: 2rem;
}

@media (min-width: 56rem) {
  .fair {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
  }
}

.fair__col {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.checks {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A drawn cross for what Fairly never does. */
.checks--never li::before {
  width: 0.75rem;
  height: 0.75rem;
  margin-inline: 0 0.25rem;
  border: 0;
  transform: translateY(0.0625rem);
  background:
    linear-gradient(
      45deg,
      transparent 43%,
      var(--ink-muted) 43% 57%,
      transparent 57%
    ),
    linear-gradient(
      -45deg,
      transparent 43%,
      var(--ink-muted) 43% 57%,
      transparent 57%
    );
}

.fair__signal p {
  color: var(--ink-secondary);
}

.fair__signal strong {
  color: var(--ink);
}

.signal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--flag-mark);
  border-radius: 0 8px 8px 0;
  background: var(--paper);
  font-size: 0.875rem;
}

.signal__type {
  font-weight: 600;
}

.signal__time {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
}

.signal__state {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Security: ink band */

.section--ink {
  background: var(--ink);
  color: var(--surface);
}

.section--ink h2 {
  color: var(--surface);
}

.section--ink :focus-visible {
  outline-color: var(--teal-light);
}

.section--ink a {
  color: var(--surface);
}

.section--ink a:hover {
  color: var(--teal-light);
}

.secure-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 44rem) {
  .secure-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .secure-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.secure-grid li {
  padding: 1rem 1.125rem;
  border: 1px solid var(--ink-rule);
  border-top: 3px solid var(--teal-light);
  border-radius: 0 0 8px 8px;
  color: var(--surface);
  font-weight: 500;
}

.security__note {
  margin-top: 1.5rem;
  color: var(--ink-quiet);
  font-size: 0.9375rem;
}

.security__foot {
  display: grid;
  gap: 0.75rem;
  max-width: var(--measure);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-rule);
  color: var(--ink-quiet);
}

.security__foot strong {
  color: var(--surface);
}

.security__links {
  display: flex;
  gap: 1.5rem;
}

/* Pricing and the pilot */

.pilot {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: pilot;
}

@media (min-width: 52rem) {
  .pilot {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pilot::before {
    content: "";
    position: absolute;
    left: 1.25rem;
    right: calc(25% - 2.375rem);
    top: 1.25rem;
    height: 2px;
    background: var(--rule-strong);
  }
}

.pilot li {
  position: relative;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  counter-increment: pilot;
}

.pilot li::before {
  content: counter(pilot);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--surface);
  font-family: var(--font-display);
  font-weight: 600;
}

.pilot h3 {
  font-size: 1.125rem;
}

.pilot p {
  color: var(--ink-secondary);
}

.pricing__cta {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.cta-note {
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.placeholder {
  padding: 0.05em 0.35em;
  border: 1px dashed var(--placeholder);
  border-radius: 3px;
  background: var(--placeholder-tint);
  color: var(--placeholder);
  font-size: 0.9em;
}

/* Questions */

.faq {
  display: grid;
  gap: 0;
}

@media (min-width: 60rem) {
  .faq {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 3rem;
  }
}

.faq__list {
  border-top: 1px solid var(--rule);
}

details {
  border-bottom: 1px solid var(--rule);
}

summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  flex-shrink: 0;
}

.faq__icon::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1;
  color: var(--teal);
}

details[open] .faq__icon::after {
  content: "\2212";
}

details p {
  max-width: var(--measure);
  padding-bottom: 1.25rem;
  color: var(--ink-secondary);
}

/* Closing band */

.closing {
  background: var(--teal);
  color: var(--surface);
}

.closing__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.closing h2 {
  max-width: 22ch;
  color: var(--surface);
}

/* Footer */

.site-footer {
  padding-block: 2.5rem;
  font-size: 0.9375rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__links a {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--ink-secondary);
}

.site-footer__copy {
  margin-left: auto;
  color: var(--ink-muted);
}

/* Phones */

@media (max-width: 43.99rem) {
  .site-footer__copy {
    margin-left: 0;
  }

  .demo__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .beam {
    max-width: none;
  }

  .demo__pause {
    align-self: flex-end;
  }

  .mini-compare th,
  .mini-compare td {
    padding: 0.5rem 0.375rem;
  }

  .avatar {
    display: none;
  }
}

.not-found {
  margin-top: 1.5rem;
}
