/* Superhuman Systems landing page */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('fonts/bricolage-grotesque.woff2') format('woff2');
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/figtree.woff2') format('woff2');
}

:root {
  --navy: #14213D;
  --navy-deep: #0C1428;
  --navy-soft: #22315A;
  --blue: #2448D8;
  --blue-dark: #1E3BB3;
  --blue-tint: #E7ECFD;
  --blue-pale: #A9BEFF;
  --page: #F5F7FB;
  --surface: #FFFFFF;
  --line: #DDE3EE;
  --line-strong: #C9D1E0;
  --line-dashed: #AEB7C8;
  --line-chart: #B9C3D6;
  --grey-tint: #EEF1F5;
  --grey-badge: #E3E7EF;
  --muted: #56607A;
  --muted-dark: #4A5468;
  --ink-soft: #3B4A73;
  --trust-text: #C9D2E6;
  --amber-tint: #FBF0DD;
  --amber-ink: #7A4A00;
  --error: #B42318;
  --flash-error: #C0392B;
  --flash-ok: #148A52;
  --font-body: 'Figtree', 'Helvetica Neue', Helvetica, sans-serif;
  --font-display: 'Bricolage Grotesque', 'Figtree', sans-serif;
}

/* Base */

html {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

a {
  color: var(--navy);
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

button,
input {
  font-family: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
  color: var(--surface);
}

/* Buttons and pills */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--surface);
}

.btn--primary:hover {
  color: var(--surface);
}

.btn--secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn--sm {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
}

.panel .btn--sm {
  padding: 0 18px;
}

.btn.is-busy {
  opacity: 0.6;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.tag--blue {
  background: var(--blue-tint);
  color: var(--blue-dark);
}

.tag--amber {
  background: var(--amber-tint);
  color: var(--amber-ink);
}

.tag--grey {
  background: var(--grey-tint);
  color: var(--muted-dark);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.avatar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.avatar--md {
  width: 28px;
  height: 28px;
}

.avatar--lg {
  width: 30px;
  height: 30px;
}

.avatar--xl {
  width: 34px;
  height: 34px;
}

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

.avatar--amber {
  background: var(--amber-tint);
  color: var(--amber-ink);
}

.avatar--grey {
  background: var(--grey-tint);
  color: var(--muted-dark);
}

.avatar--navy {
  background: var(--navy);
  color: var(--surface);
}

.icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue);
}

.icon--dark {
  background: var(--navy-soft);
  color: var(--blue-pale);
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bubble--user {
  align-self: flex-end;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px 16px 4px 16px;
  background: var(--navy);
  color: var(--surface);
  font-size: 15px;
  line-height: 1.45;
}

.bubble--agent {
  align-self: flex-start;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  background: var(--page);
  border: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}

/* Header */

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
}

/* Section scaffolding */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.section-title {
  margin: 0;
  max-width: 840px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-lead {
  margin: 0;
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
}

/* Hero */

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.hero__title {
  margin: 0;
  max-width: 1020px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero__lead {
  margin: 0;
  max-width: 700px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__note {
  margin: 0;
  max-width: 680px;
  font-size: 14px;
  color: var(--muted);
}

/* How it works */

.how {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px 96px;
}

.how__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
}

.step {
  flex: 1 1 320px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.step__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step__title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.step__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.step__text {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.step__foot {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.week,
.week__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.week__head {
  display: flex;
  justify-content: space-between;
  padding: 0 2px 6px;
  font-size: 13px;
  color: var(--muted);
}

.week__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
}

.week__row--meeting {
  background: var(--blue-tint);
}

.week__row--doc {
  background: var(--grey-tint);
}

.week__name {
  font-weight: 600;
  font-size: 15px;
}

.week__meta {
  font-size: 13px;
  white-space: nowrap;
  color: var(--muted-dark);
}

.week__row--meeting .week__meta {
  color: var(--ink-soft);
}

.topics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topic {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.topic__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.topic__name {
  font-weight: 600;
  font-size: 15px;
}

.topic__owner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owners {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.owner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.owner__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.owner__name {
  font-weight: 600;
  font-size: 14px;
}

.owner__task {
  font-size: 13px;
  color: var(--muted);
}

/* What changes */

.value {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.benefit {
  flex: 1 1 240px;
  min-width: 0;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.benefit__title,
.feature__title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.benefit__text,
.feature__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}

/* Agents */

.agents__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.agents .section-lead {
  max-width: 660px;
}

.org-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.org {
  position: relative;
  width: 1136px;
  height: 544px;
  margin: 0 auto;
}

.org__line {
  position: absolute;
  overflow: visible;
  fill: none;
  stroke: var(--line-chart);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.org__line--v {
  width: 8px;
  height: 48px;
}

.org__line--h {
  height: 8px;
}

.org__line--ceo-down { left: 564px; top: 128px; }
.org__line--vp-bar { left: 192px; top: 172px; width: 752px; }
.org__line--you-up { left: 188px; top: 176px; }
.org__line--marco-up { left: 564px; top: 176px; }
.org__line--lena-up { left: 940px; top: 176px; }
.org__line--you-down { left: 188px; top: 320px; }
.org__line--product-bar { left: 104px; top: 364px; width: 176px; }
.org__line--priya-up { left: 100px; top: 368px; }
.org__line--tom-up { left: 276px; top: 368px; }
.org__line--marco-down { left: 564px; top: 320px; }
.org__line--sales-bar { left: 480px; top: 364px; width: 176px; }
.org__line--aisha-up { left: 476px; top: 368px; }
.org__line--jonas-up { left: 652px; top: 368px; }
.org__line--lena-down { left: 940px; top: 320px; }
.org__line--eng-bar { left: 856px; top: 364px; width: 176px; }
.org__line--mei-up { left: 852px; top: 368px; }
.org__line--daan-up { left: 1028px; top: 368px; }

.org__node {
  position: absolute;
  width: 208px;
  height: 96px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  font-size: 14px;
  line-height: 20px;
}

.org__node--sm {
  width: 152px;
  padding: 10px;
}

.org__node--on {
  background: var(--surface);
  border: 2px solid var(--blue);
  color: var(--navy);
}

.org__node--invited {
  background: var(--surface);
  border: 2px dashed var(--line-dashed);
  color: var(--muted-dark);
}

.org__node--ceo { left: 464px; top: 32px; }
.org__node--you { left: 88px; top: 224px; background: var(--blue-tint); }
.org__node--marco { left: 464px; top: 224px; }
.org__node--lena { left: 840px; top: 224px; }
.org__node--priya { left: 28px; top: 416px; }
.org__node--tom { left: 204px; top: 416px; }
.org__node--aisha { left: 404px; top: 416px; }
.org__node--jonas { left: 580px; top: 416px; }
.org__node--mei { left: 780px; top: 416px; }
.org__node--daan { left: 956px; top: 416px; }

.org__badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}

.org__badge--on {
  background: var(--blue);
  color: var(--surface);
}

.org__badge--invited {
  background: var(--grey-badge);
  color: var(--muted-dark);
}

.legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend__swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--surface);
}

.legend__swatch--on {
  border: 2px solid var(--blue);
}

.legend__swatch--invited {
  border: 2px dashed var(--line-dashed);
}

.exchange {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.exchange__caption {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.exchange__line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.exchange__text {
  margin: 0;
  padding-top: 3px;
  font-size: 16px;
  line-height: 1.55;
}

.exchange__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* Hand it the work */

.work {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.work .section-title {
  max-width: 820px;
}

.work .section-lead {
  max-width: 600px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 960px;
}

.tab {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.tab[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--surface);
}

.panel {
  width: 100%;
  max-width: 760px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel__ask {
  padding: 12px 16px;
  border-radius: 18px 18px 4px 18px;
  font-size: 16px;
}

.panel__reply {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.panel__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.panel__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

/* Who knows what */

.knowledge {
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 24px 112px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px 72px;
  align-items: flex-start;
}

.knowledge__intro {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.knowledge .section-lead {
  max-width: 520px;
}

.knowledge__list {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Trust */

.trust {
  background: var(--navy);
  color: var(--surface);
}

.trust__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.trust .section-title {
  max-width: 720px;
  color: var(--surface);
}

.trust__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.pillar {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--surface);
}

.pillar__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--trust-text);
}

/* Waitlist */

.start {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.start .section-title {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.start .section-lead {
  max-width: 560px;
}

.start__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8px;
}

.waitlist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  text-align: left;
}

.waitlist__row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist__input {
  width: 280px;
  max-width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #8C97AD;
  background: var(--surface);
  color: var(--navy);
  font-size: 16px;
}

.waitlist__error {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: var(--error);
}

.waitlist__msg {
  margin: 14px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.waitlist__msg--ok {
  color: var(--flash-ok);
}

.waitlist__msg--error {
  color: var(--flash-error);
}

.sent {
  max-width: 440px;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.sent__title {
  font-weight: 600;
  font-size: 16px;
}

.sent__text {
  font-size: 14px;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
}

/* Not found */

.not-found {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.not-found .section-lead {
  max-width: 560px;
}

/* Small screens */

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
}

/* The privacy page and the footer link to it. */
.site-footer__link {
  margin-left: 16px;
  font-family: "Figtree", "Helvetica Neue", sans-serif;
  font-size: 14px;
  color: #FFFFFF;
  text-decoration: underline;
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.legal h1 {
  font-family: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  font-size: 40px;
  line-height: 1.1;
  color: #14213D;
  margin: 0 0 16px;
}

.legal h2 {
  font-family: "Bricolage Grotesque", "Helvetica Neue", sans-serif;
  font-size: 22px;
  line-height: 1.2;
  color: #14213D;
  margin: 32px 0 8px;
}

.legal p,
.legal li {
  font-family: "Figtree", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #14213D;
}

.legal a {
  color: #2448D8;
}
