/* Manrope (Copyright 2019 The Manrope Project Authors) and IBM Plex Sans (Copyright 2019 IBM Corp.), self-hosted from
   Fontsource under the SIL Open Font License 1.1: /assets/fonts/LICENSE.txt has their notices and the licence. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-600-normal-f7ac6258da20.woff2") format("woff2");
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-700-normal-d2a12c85a831.woff2") format("woff2");
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-latin-800-normal-74c161dbcbce.woff2") format("woff2");
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal-3b646991d300.woff2") format("woff2");
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-italic-6de912e531b6.woff2") format("woff2");
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-500-normal-0717336fb31f.woff2") format("woff2");
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal-8960851d691c.woff2") format("woff2");
}
/* The public pages' stylesheet: the landing page at / (and its contact form's answers at /contact), the privacy policy
   and the terms of service at /privacy and /terms. The @font-face rules of the self-hosted fonts come before this file in
   the served stylesheet (src/dashboard/landing-assets.ts). */

:root {
  --navy: #0f172a;
  --night: #020617;
  --slate: #1e293b;
  --line-dark: #334155;
  --line: #e2e8f0;
  --line-dashed: #cbd5e1;
  --page: #f8fafc;
  --paper: #ffffff;
  --on-dark: #cbd5e1;
  --on-dark-muted: #94a3b8;
  --text: #334155;
  --text-soft: #475569;
  --ink: #0f172a;
  --accent: #2563eb;
  --link: #1d4ed8;
  --step: #dbeafe;
  --step-ink: #1e3a8a;
  --focus: #3b82f6;
  --error: #b91c1c;
  --error-soft: #fef2f2;
  --display: Manrope, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Base */
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
a {
  color: var(--link);
}
a:hover {
  color: var(--ink);
}
summary {
  cursor: pointer;
}
/* A visible focus ring for the keyboard, in a blue that stands out on the dark band and on the light page alike. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
svg {
  flex: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Pill buttons */
.pill {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.pill-accent,
.pill-accent:hover {
  min-height: 48px;
  padding: 14px 26px;
  background: var(--accent);
  color: var(--paper);
}
.pill-accent:hover {
  background: var(--link);
}
button.pill {
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.pill-light,
.pill-light:hover {
  min-height: 48px;
  padding: 14px 26px;
  background: var(--paper);
  color: var(--ink);
}
.pill-light:hover {
  background: var(--step);
}

/* The dark band: header and hero */
.band {
  background: var(--navy);
  color: var(--on-dark);
}
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo .mark {
  flex: none;
  width: 40px;
  height: 40px;
}
/* The Akeso mark's two strokes (brand.ts), in the dark background's colours. */
.mark-pulse {
  stroke: var(--focus);
}
.mark-crossbar {
  stroke: var(--step);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-word {
  color: var(--paper);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-by {
  margin-top: 3px;
  color: var(--on-dark-muted);
  font-size: 13px;
  line-height: 1;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 26px;
}
.site-nav a {
  color: var(--on-dark);
  font-size: 15px;
  text-decoration: none;
}
.site-nav a:hover {
  color: var(--paper);
}
.site-nav .pill-sign-in,
.site-nav .pill-sign-in:hover {
  min-height: 44px;
  padding: 10px 18px;
  background: var(--paper);
  color: var(--ink);
}
.site-nav .pill-sign-in:hover {
  background: var(--step);
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 24px 128px;
}
.hero-copy {
  display: flex;
  flex: 1 1 500px;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.hero h1 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
}
.hero-lead {
  max-width: 560px;
  margin: 0;
  font-size: 20px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 4px;
}
.hero-link {
  color: var(--on-dark);
  font-size: 16px;
}
.hero-link:hover {
  color: var(--paper);
}

/* The hero's conversation: one bug, start to finish */
.story {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin: 0;
}
.turn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 86%;
}
.turn-team {
  align-self: flex-end;
  align-items: flex-end;
}
.turn-wide {
  max-width: 92%;
}
.turn-meta,
.story-caption {
  color: var(--on-dark-muted);
  font-size: 13px;
}
.bubble {
  margin: 0;
  padding: 14px 18px;
  border-radius: 18px 18px 18px 6px;
  background: var(--slate);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}
.bubble-team {
  border-radius: 18px 18px 6px 18px;
  background: var(--accent);
}
.bubble-fix {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--line-dark);
  background: var(--night);
}
.bubble-fix p {
  margin: 0;
}
.bubble-fix .checks {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--on-dark-muted);
  font-size: 14px;
}

/* Sections on the light page */
.section-title {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* How it helps: the card that overlaps the band */
.benefits {
  max-width: 1120px;
  margin: -64px auto 0;
  padding: 0 24px;
}
.benefits-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px 48px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.35);
}
.benefit {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.benefit h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 600;
}
.benefit p {
  margin: 0;
  font-size: 16px;
}

/* The product demo */
.demo {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 24px 0;
}
.demo-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--navy);
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.35);
}

/* Integrations */
.sources {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 24px 88px;
}
.section-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 660px;
}
.section-intro p {
  margin: 0;
}
/* One card per integration: three to a row, two on tablets and one on phones (the media queries below). */
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.source-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
}
.source-card-soon {
  border: 1px dashed var(--line-dashed);
  background: var(--page);
}
.source-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.source-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.source-card p {
  margin: 0;
  font-size: 16px;
}
.source-tag {
  padding: 2px 10px;
  border: 1px solid var(--line-dashed);
  border-radius: 999px;
  background: var(--paper);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

/* How it works */
.how {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.how-inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--step);
  color: var(--step-ink);
  font-weight: 700;
}
.step h3 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.step p {
  margin: 0;
  font-size: 16px;
}

/* The quote */
.quote {
  max-width: 1120px;
  margin: 0 auto;
  padding: 104px 24px;
}
.quote-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.quote h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.quote p {
  margin: 0;
  color: var(--text-soft);
}

/* Questions */
.faq {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.faq-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
  padding: 96px 24px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.faq-list details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}
.faq-list p {
  margin: 10px 0 0;
}

/* Talk to us */
.cta {
  background: var(--navy);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 96px 24px;
}
.cta-copy {
  display: flex;
  flex: 1 1 480px;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.cta h2 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.cta-copy p {
  margin: 0;
  color: var(--on-dark);
}

/* The contact form, and the thank-you or the address in its place: a light card on the dark band at the end of the
   landing page */
.contact-form,
.contact-card {
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  color: var(--text);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-self: stretch;
}
.field label {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.field input,
.field textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line-dashed);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}
.field textarea {
  min-height: 9em;
  resize: vertical;
}
.field ::placeholder {
  color: var(--text-soft);
  opacity: 1;
}
.field [aria-invalid="true"] {
  border-color: var(--error);
}
.field-error,
.form-error {
  margin: 0;
  color: var(--error);
  font-size: 15px;
  font-weight: 600;
}
.contact-form .form-error {
  align-self: stretch;
  padding: 12px 16px;
  border-left: 4px solid var(--error);
  border-radius: 6px;
  background: var(--error-soft);
  font-size: 16px;
}
.form-error a {
  color: inherit;
}
/* The field people never see and bots fill in: out of sight, but not display: none, which some bots skip */
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
}
.contact-form-note a {
  color: inherit;
}
.contact-sent,
.contact-direct {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

/* The privacy policy and the terms of service: long-form text at a readable measure, a table of contents and numbered
   sections */
.legal {
  background: var(--paper);
}
.legal-inner {
  max-width: 70ch;
  margin: 0 auto;
  padding: 72px 24px 104px;
}
.legal h1 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.legal-meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
}
.legal-meta span {
  white-space: nowrap;
}
.legal-lead {
  margin: 24px 0 0;
  font-size: 19px;
}
.legal-toc {
  margin: 40px 0 0;
  padding: 22px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--page);
}
.legal .legal-toc h2 {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.legal-toc ol {
  margin: 0;
  padding-left: 1.7em;
  font-size: 16px;
  columns: 2 15em;
  column-gap: 36px;
}
.legal-toc li {
  break-inside: avoid;
}
.legal-toc li + li {
  margin-top: 4px;
}
.legal-section {
  padding-top: 44px;
  scroll-margin-top: 16px;
}
.legal h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.legal-number {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.legal h3 {
  margin: 26px 0 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  scroll-margin-top: 16px;
}
.legal-section p,
.legal-section ul,
.legal-section ol,
.legal-section address,
.legal-section table {
  margin: 0 0 14px;
}
.legal-section ul,
.legal-section ol {
  padding-left: 1.4em;
}
.legal-section li + li {
  margin-top: 8px;
}
.legal address {
  font-style: normal;
}
.legal strong {
  color: var(--ink);
  font-weight: 600;
}
.legal code {
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--page);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 0.86em;
}
.legal td code {
  white-space: nowrap;
}
/* Tables fit the text's measure; on a phone their rows stack (below). */
.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.55;
}
.legal th,
.legal td {
  padding: 10px 14px 10px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}
.legal th {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--line-dashed);
}
.legal th:last-child,
.legal td:last-child {
  padding-right: 0;
}

/* Footer */
.site-footer {
  background: var(--night);
}
.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 30px 24px;
  color: var(--on-dark-muted);
  font-size: 14px;
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.footer-word {
  color: var(--paper);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.footer-brand p {
  margin: 0;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-links a {
  color: var(--on-dark);
}
.footer-links a:hover {
  color: var(--paper);
}

/* Tablets: the hero and the two-column sections already stack (flex-wrap and auto-fit grids); the type steps down. */
@media (max-width: 799.98px) {
  .hero {
    padding: 64px 24px 112px;
  }
  .hero h1 {
    font-size: 48px;
  }
  .demo {
    padding: 88px 24px 0;
  }
  .sources {
    padding: 88px 24px 72px;
  }
  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-inner,
  .faq-inner,
  .cta-inner {
    padding: 80px 24px;
  }
  .quote {
    padding: 88px 24px;
  }
}

/* Phones: smaller type and padding, a wrapping menu, no side scrolling. */
@media (max-width: 559.98px) {
  body {
    font-size: 17px;
  }
  .site-header {
    padding: 18px 20px;
  }
  .site-nav {
    gap: 4px 18px;
  }
  .hero {
    gap: 48px;
    padding: 40px 20px 104px;
  }
  .hero h1 {
    font-size: 38px;
    line-height: 1.1;
  }
  .hero-lead {
    font-size: 18px;
  }
  .turn,
  .turn-wide {
    max-width: 94%;
  }
  .benefits {
    padding: 0 20px;
  }
  .benefits-card {
    padding: 28px 24px;
  }
  .section-title,
  .legal h1,
  .cta h2 {
    font-size: 30px;
  }
  .quote h2 {
    font-size: 24px;
  }
  .demo {
    padding: 72px 20px 0;
  }
  .demo-video {
    border-radius: 16px;
  }
  .sources {
    padding: 72px 20px 64px;
  }
  .how-inner,
  .faq-inner,
  .cta-inner {
    padding: 64px 20px;
  }
  .quote {
    padding: 72px 20px;
  }
  .legal-inner {
    padding: 48px 20px 72px;
  }
  .contact-form,
  .contact-card {
    padding: 22px 20px;
  }
  .legal h2 {
    font-size: 22px;
  }
  .legal-lead {
    font-size: 18px;
  }
  .legal-toc {
    padding: 18px 20px 20px;
  }
  /* A table's rows stack: the first cell as the row's title, each other cell after its column's heading. */
  .legal table,
  .legal tbody,
  .legal tr,
  .legal td {
    display: block;
  }
  .legal thead {
    display: none;
  }
  .legal table {
    border-top: 1px solid var(--line);
  }
  .legal tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .legal td {
    padding: 0;
    border: 0;
  }
  .legal td:first-child {
    color: var(--ink);
    font-weight: 600;
  }
  .legal td + td {
    margin-top: 4px;
  }
  .legal td + td::before {
    content: attr(data-label) ": ";
    color: var(--text-soft);
    font-weight: 600;
  }
  .source-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .source-card {
    padding: 20px 24px;
  }
  .site-footer-inner {
    padding: 28px 20px;
  }
}

/* Printing a legal text: the text alone, without the header's menu and the footer's links. */
@media print {
  .legal-page .band,
  .legal-page .site-footer {
    display: none;
  }
  .legal-inner {
    max-width: none;
    padding: 0;
  }
  .legal h2,
  .legal h3 {
    break-after: avoid;
  }
}
