:root {
  --ink: #17191d;
  --muted: #747982;
  --line: #e8e9ec;
  --paper: #ffffff;
  --soft: #f7f8fa;
  --blue: #2867e8;
  --blue-soft: #edf3ff;
  --radius: 18px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

.topbar {
  height: 76px;
  padding: 0 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: -.4px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  color: white;
  background: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.nav-link {
  color: #777d85;
  font-size: 13px;
  transition: color .2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
}

.top-action {
  font-size: 13px;
  font-weight: 600;
}

.top-action span {
  color: var(--blue);
  margin-left: 4px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 22px;
}

.section-wrap {
  width: min(1120px, 87%);
  margin: 0 auto;
}

.hero {
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding-top: 45px;
  padding-bottom: 45px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 1.6px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dbb81;
  margin-right: 7px;
  vertical-align: 1px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1.03;
  letter-spacing: -4px;
  font-weight: 650;
}

h1 span,
.submit-intro h2 span {
  color: var(--blue);
}

.hero-text {
  max-width: 440px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s, background .2s, border-color .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  color: white;
  background: var(--ink);
}

.button-dark:hover {
  background: #30343b;
}

.button-outline {
  color: var(--ink);
  background: white;
  border-color: #dfe1e5;
}

.button-outline:hover {
  border-color: #aeb4be;
}

.text-link {
  font-size: 13px;
  font-weight: 600;
}

.text-link:hover {
  color: var(--blue);
}

.hero-art {
  width: min(390px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  position: relative;
  display: grid;
  place-items: center;
}

.art-orbit {
  position: absolute;
  border: 1px solid #e8edf5;
  border-radius: 50%;
}

.orbit-one {
  width: 82%;
  height: 82%;
}

.orbit-two {
  width: 61%;
  height: 61%;
}

.art-center {
  width: 100px;
  height: 100px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  font-size: 27px;
  font-weight: 700;
  box-shadow: 0 20px 50px #18243b20;
  transform: rotate(-8deg);
}

.art-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px #17233a0c;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}

.node-one {
  top: 12%;
  left: 19%;
}

.node-two {
  top: 23%;
  right: 10%;
}

.node-three {
  bottom: 14%;
  right: 20%;
}

.node-four {
  bottom: 18%;
  left: 8%;
  color: #222;
  font-size: 23px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 4px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border: 0;
}

.stat strong {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -.8px;
}

.stat span {
  color: var(--muted);
  font-size: 12px;
}

.stat .stat-label {
  color: var(--blue);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.stat-note strong {
  font-size: 17px;
  margin-top: 1px;
}

.content-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-heading h2,
.submit-intro h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 43px);
  letter-spacing: -1.9px;
  line-height: 1.1;
  font-weight: 650;
}

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

.toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  max-width: 390px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  color: #8a9099;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 11px 0;
  background: transparent;
  font-size: 13px;
}

select,
input,
textarea {
  color: var(--ink);
}

.toolbar select,
.pitch-form select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 13px;
  background: white;
  outline: none;
  font-size: 13px;
}

.people-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.person-card,
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px;
  background: white;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.person-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  border-color: #d5dbe5;
  box-shadow: 0 12px 30px #17233a08;
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}

.person-card h3,
.team-card h3 {
  margin: 0 0 3px;
  font-size: 15px;
  letter-spacing: -.2px;
}

.card-role {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
  margin-bottom: 16px;
}

.tag {
  padding: 4px 8px;
  border-radius: 6px;
  background: #f3f5f7;
  color: #555d68;
  font-size: 10px;
}

.card-button {
  width: 100%;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}

.card-button:hover {
  background: var(--blue-soft);
  border-color: #d7e4ff;
  color: var(--blue);
}

.soft-section {
  width: 100%;
  padding-left: 6.5%;
  padding-right: 6.5%;
  background: var(--soft);
}

.soft-section>.section-heading,
.soft-section>.team-grid {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
}

.team-card {
  padding: 22px;
}

.team-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.team-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f1f3f6;
  font-weight: 700;
}

.vacancy {
  font-size: 11px;
  color: #27875d;
  background: #eaf7f0;
  padding: 5px 8px;
  border-radius: 99px;
}

.team-card p {
  color: var(--muted);
  font-size: 12px;
  min-height: 38px;
  margin: 9px 0 16px;
}

.team-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 13px;
}

.submit-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  padding-top: 100px;
  padding-bottom: 100px;
}

.submit-intro h2 {
  font-size: clamp(38px, 5vw, 54px);
}

.submit-intro>p:not(.eyebrow) {
  max-width: 330px;
  color: var(--muted);
  font-size: 14px;
}

.submission-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 330px;
  margin-top: 36px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.note-icon {
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
}

.pitch-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 14px;
  align-content: start;
}

.pitch-form label,
.modal-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #454b54;
  font-size: 12px;
  font-weight: 600;
}

.pitch-form label:first-child,
.pitch-form label:nth-child(2),
.pitch-form label:nth-child(3) {
  grid-column: span 2;
}

.pitch-form input,
.pitch-form select,
.modal-card input,
.modal-card select,
.modal-card textarea {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
  outline: none;
  background: white;
  font-size: 12px;
  font-weight: 400;
  transition: border-color .2s, box-shadow .2s;
}

.pitch-form input:focus,
.pitch-form select:focus,
.modal-card input:focus,
.modal-card select:focus,
.modal-card textarea:focus {
  border-color: #9db9f5;
  box-shadow: 0 0 0 3px #2867e810;
}

.pitch-form select {
  min-height: 43px;
}

.submit-button {
  align-self: end;
  min-height: 43px;
}

.form-message {
  grid-column: span 2;
  margin: -7px 0 0;
  color: #27875d;
  font-size: 12px;
}

.submissions-section {
  border-top: 1px solid var(--line);
  padding-top: 65px;
}

.submission-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.submission-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 17px;
}

.submission-item h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.submission-item p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
}

.submission-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.submission-links a {
  color: var(--blue);
  font-size: 11px;
}

.empty-state {
  padding: 25px;
  border: 1px dashed #d9dde4;
  border-radius: 13px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  grid-column: 1 / -1;
}

.footer {
  min-height: 95px;
  padding: 22px 6.5%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.back-top {
  font-size: 11px;
  font-weight: 600;
}

.modal {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(440px, calc(100% - 30px));
  box-shadow: 0 25px 80px #10182830;
}

.modal::backdrop {
  background: #15192370;
  backdrop-filter: blur(3px);
}

.modal[open] {
  animation: modal-in .2s ease-out;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal-card {
  position: relative;
  display: grid;
  gap: 15px;
  padding: 30px;
}

.modal-card h2 {
  margin: -8px 0 3px;
  font-size: 29px;
  letter-spacing: -1px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 17px;
  border: 0;
  background: none;
  font-size: 25px;
  color: var(--muted);
  cursor: pointer;
}

.modal-card textarea {
  resize: vertical;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 11px 17px;
  border-radius: 99px;
  background: var(--ink);
  color: white;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 30;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .people-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .submit-section {
    gap: 45px;
    grid-template-columns: 1fr 1.2fr;
  }

  .main-nav {
    gap: 17px;
  }
}

@media (max-width: 650px) {
  .topbar {
    height: 65px;
    padding: 0 6%;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    padding: 18px 6%;
    background: white;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

  .main-nav.open {
    display: flex;
  }

  .top-action {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .section-wrap {
    width: 88%;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 65px;
    padding-bottom: 45px;
    gap: 10px;
  }

  h1 {
    font-size: 49px;
    letter-spacing: -2.8px;
  }

  .hero-art {
    width: min(280px, 90%);
    margin-top: 8px;
  }

  .art-center {
    width: 78px;
    height: 78px;
    border-radius: 24px;
  }

  .art-node {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 18px;
  }

  .stat {
    padding: 3px 14px;
  }

  .stat:nth-child(2) {
    border: 0;
  }

  .stat:nth-child(3) {
    padding-left: 0;
  }

  .content-section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .people-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .soft-section {
    padding-left: 6%;
    padding-right: 6%;
  }

  .submit-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .pitch-form {
    grid-template-columns: 1fr;
  }

  .pitch-form label,
  .pitch-form label:first-child,
  .pitch-form label:nth-child(2),
  .pitch-form label:nth-child(3) {
    grid-column: span 1;
  }

  .form-message {
    grid-column: span 1;
  }

  .submission-list {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 22px 6%;
    flex-wrap: wrap;
  }

  .footer p {
    order: 3;
    width: 100%;
  }

  .toolbar {
    flex-direction: column;
  }

  .search-box,
  .toolbar select {
    width: 100%;
    max-width: none;
    min-height: 43px;
  }

  .hero-actions {
    flex-wrap: wrap;
    gap: 15px;
  }

  .stat {
    min-width: 0;
  }

  .stat strong {
    font-size: 22px;
  }

  .modal-card {
    padding: 24px 20px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 40px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding-left: 8px;
    padding-right: 8px;
  }
}