@font-face {
  font-family: MEO Serif;
  src: url('assets/serif.woff') format('woff');
  font-weight: 400;
  font-display: swap
}

@font-face {
  font-family: MEO Sans;
  src: url('assets/sans.woff') format('woff');
  font-weight: 400;
  font-display: swap
}

:root {
  color-scheme: dark;
  --bg: #09151c;
  --text: #edf0f1;
  --muted: #d0d7dc;
  --stroke: #284353;
  --section: 585px;
  --serif: 'MEO Serif', 'Batang', serif;
  --sans: 'MEO Sans', 'Malgun Gothic', sans-serif
}

* {
  box-sizing: border-box
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.7;
  word-break: keep-all
}

button, input, textarea {
  font: inherit
}

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

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

button {
  cursor: pointer;
  color: inherit
}

button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #d6e9f5;
  outline-offset: 6px
}

button {
  border: 0;
  background: none
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round
}

h1, h2, h3, p {
  margin: 0
}

h1, h2, h3 {
  font-weight: 400
}

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

.page {
  position: relative;
  isolation: isolate;
  max-width: 1920px;
  margin: auto;
  overflow: hidden
}

.page:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('assets/cosmos.webp') center top/100% 100% no-repeat;
  pointer-events: none
}

.container {
  width: calc(100% - 176px);
  max-width: 1280px;
  margin-inline: auto
}

.header {
  height: 98px;
  font-family: var(--sans);
  position: relative;
  z-index: 3
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 56px;
  border-bottom: 1px solid #7695a018
}

.logo {
  font-family: Arial, sans-serif;
  font-size: 46px;
  letter-spacing: -1.5px;
  line-height: 1
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex: 1;
  font-size: 17px;
  white-space: nowrap
}

.nav-links button, .account button {
  padding: 6px 0;
  font-size: inherit
}

.nav-links a:hover, .nav-links button:hover, .account button:hover {
  color: #fff;
  text-shadow: 0 0 12px #bccfda70
}

.account {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  white-space: nowrap
}

.account-divider {
  height: 22px;
  width: 1px;
  background: #8195a52a
}

.search-button svg {
  width: 28px;
  height: 28px;
  display: block
}

.menu-toggle {
  display: none
}

.hero {
  height: 566px;
  display: flex;
  align-items: center
}

.hero-copy {
  padding-bottom: 18px;
  position: relative;
  z-index: 1
}

.eyebrow {
  font-size: 17px;
  letter-spacing: 5px;
  line-height: 1.7
}

.hero h1 {
  font-size: 76px;
  line-height: 1.37;
  letter-spacing: -2.8px;
  margin-top: 29px;
  white-space: nowrap
}

.section {
  height: var(--section);
  display: grid;
  grid-template-columns: minmax(0, 470px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  position: relative
}

.copy h2 {
  font-size: 46px;
  line-height: 1.45;
  letter-spacing: -1.4px;
  margin-bottom: 26px
}

.copy p {
  font-size: 22px;
  line-height: 1.8;
  color: var(--muted);
  overflow-wrap: break-word
}

.workflow {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  align-items: center;
  gap: 8px
}

.flow-card {
  border: 1px solid var(--stroke);
  border-radius: 9px;
  background: #091820b0;
  min-height: 235px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px 9px 20px
}

.line-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 22px
}

.flow-card h3 {
  font-size: 20px;
  white-space: nowrap;
  margin-bottom: 12px
}

.flow-card p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted)
}

.flow-arrow {
  text-align: center;
  font-family: var(--sans);
  font-size: 26px
}

.orb {
  filter: drop-shadow(0 0 9px #acd8f7)
}

.case-card {
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #091820da;
  padding: 28px 32px;
  justify-self: end;
  width: 100%;
  font-size: 20px;
  line-height: 1.7
}

.patient {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 19px
}

.avatar {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #21445899
}

.avatar svg {
  width: 28px;
  height: 28px
}

.case-card>p {
  font-size: 19px;
  line-height: 1.7
}

.additional {
  margin-top: 20px;
  padding: 15px 20px;
  border: 1px solid #29434e66;
  border-radius: 7px;
  background: #16303d55;
  font-size: 18px
}

.additional p {
  font-size: 17px
}

.pipe {
  padding-inline: 8px;
  color: #8c9ca5
}

.case-card h3 {
  font-size: 23px;
  margin: 23px 0 13px
}

.challenge {
  background: #f2f3f3;
  color: #15202b;
  font-family: var(--sans);
  border-radius: 5px;
  padding: 9px 32px;
  font-size: 18px;
  line-height: 1.6;
  min-width: 182px;
  box-shadow: 0 0 20px #c4e8ff08
}

.challenge span {
  margin-left: 15px
}

.challenge:hover {
  background: #fff
}

.workspace-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #23404d70
}

.specialties {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
  align-items: start
}

.specialties>div, .specialties>button {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  padding: 0;
  font-size: 16px;
  line-height: 1.5
}

.specialties img {
  width: 92px;
  height: auto;
  mix-blend-mode: screen
}

.specialties span {
  white-space: nowrap;
  margin-top: 15px;
  font-size: 15px
}

.specialties i {
  height: 6px;
  width: 6px;
  background: #eee;
  border-radius: 50%;
  margin-top: 17px
}

.closing {
  height: var(--section);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 24px
}

.closing>div {
  transform: translateY(3px)
}

.closing .eyebrow {
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 24px
}

.closing h2 {
  font-size: 46px;
  letter-spacing: -1.2px;
  line-height: 1.5;
  margin-bottom: 18px
}

.closing p:last-child {
  font-size: 23px;
  line-height: 1.8
}

dialog {
  color: var(--text);
  background: #111f27;
  border: 1px solid #536774;
  border-radius: 12px;
  width: min(620px, calc(100% - 32px));
  padding: 36px;
  font-family: var(--sans);
  font-size: 17px;
  box-shadow: 0 24px 90px #0009
}

dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(5px)
}

dialog h2 {
  font-size: 25px;
  margin: 0 30px 20px 0
}

dialog p {
  margin-bottom: 18px;
  color: var(--muted)
}

dialog .close {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 30px
}

dialog label {
  display: block;
  margin: 18px 0 8px
}

dialog input, dialog textarea {
  background: #08121a;
  border: 1px solid #607580;
  color: #fff;
  border-radius: 6px;
  padding: 12px;
  width: 100%;
  resize: vertical;
  font-size: 16px
}

dialog .small {
  font-size: 13px;
  margin-top: 15px;
  line-height: 1.7
}

.dialog-button {
  background: #e4e9ed;
  color: #17232b;
  border-radius: 4px;
  padding: 9px 25px;
  margin-top: 12px
}

#search-results {
  margin-top: 20px;
  display: grid;
  gap: 8px
}

#search-results a {
  padding: 10px;
  border-bottom: 1px solid #ffffff20
}

#search-results a:hover {
  background: #ffffff0c
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  background: #fff;
  color: #111;
  padding: 10px
}

.skip:focus {
  top: 10px
}

@media(min-width:1600px) {
  .hero h1 {
    font-size: 80px
  }

}

@media(max-width:1199px) {
  .container {
    width: calc(100% - 80px)
  }

  .nav {
    gap: 30px
  }

  .nav-links {
    gap: 18px;
    font-size: 14px
  }

  .account {
    gap: 17px;
    font-size: 14px
  }

  .logo {
    font-size: 36px
  }

  .section {
    grid-template-columns: minmax(0, 38%) minmax(0, 1fr);
    gap: 32px
  }

  .copy h2 {
    font-size: 35px
  }

  .copy p {
    font-size: 18px
  }

  .hero h1 {
    font-size: 62px
  }

  .flow-card {
    padding: 20px 5px;
    min-height: 210px
  }

  .flow-card h3 {
    font-size: 16px
  }

  .flow-card p {
    font-size: 14px
  }

  .workflow {
    gap: 4px;
    grid-template-columns: 1fr 15px 1fr 15px 1fr 15px 1fr
  }

  .flow-arrow {
    font-size: 18px
  }

  .case-card {
    padding: 24px;
    font-size: 17px
  }

  .case-card>p, .additional p {
    font-size: 16px
  }

  .additional {
    padding: 12px
  }

  .case-card h3 {
    font-size: 20px
  }

  .specialties {
    gap: 7px
  }

  .specialties span {
    font-size: 12px
  }

  .closing h2 {
    font-size: 40px
  }

  .closing p:last-child {
    font-size: 20px
  }

}

@media(max-width:760px) {
  :root {
    --section: auto
  }

  .container {
    width: calc(100% - 40px)
  }

  body {
    font-size: 17px
  }

  .page:before {
    background-size: auto 2900px;
    background-position: 54% 0;
    opacity: .67
  }

  .header {
    height: 76px
  }

  .nav {
    gap: 18px;
    justify-content: space-between
  }

  .logo {
    font-size: 32px
  }

  .account {
    margin-left: auto;
    gap: 15px
  }

  .account-divider {
    display: none
  }

  .menu-toggle {
    display: block;
    order: 4;
    padding: 6px
  }

  .menu-toggle svg {
    width: 24px;
    height: 24px
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #0a171ff5;
    box-shadow: 0 15px 25px #0005;
    font-size: 16px
  }

  .nav-links.open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px
  }

  .nav-links button {
    text-align: left
  }

  .hero {
    height: 550px;
    align-items: flex-end;
    padding-bottom: 60px
  }

  .hero-copy {
    padding-bottom: 0
  }

  .hero .eyebrow {
    font-size: 12px;
    letter-spacing: 3px
  }

  .hero h1 {
    font-size: clamp(34px, 8.5vw, 56px);
    letter-spacing: -1.8px;
    margin-top: 20px;
    text-shadow: 0 2px 16px #061018
  }

  .section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 36px;
    padding-top: 66px;
    padding-bottom: 66px;
    min-height: 510px
  }

  .copy h2 {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 20px
  }

  .copy p {
    font-size: 17px;
    line-height: 1.9
  }

  .desktop-break {
    display: none
  }

  .workflow {
    gap: 4px;
    grid-template-columns: 1fr 12px 1fr 12px 1fr 12px 1fr
  }

  .flow-card {
    min-height: 179px;
    border-radius: 7px;
    padding: 20px 3px 15px
  }

  .flow-card h3 {
    font-size: 13px;
    letter-spacing: -.5px
  }

  .flow-card p {
    font-size: 12px;
    line-height: 1.6
  }

  .line-icon {
    width: 29px;
    height: 29px;
    margin-bottom: 18px
  }

  .flow-arrow {
    font-size: 16px
  }

  .case-card {
    padding: 22px 18px
  }

  .case-card>p {
    font-size: 15px
  }

  .case-card h3 {
    font-size: 18px
  }

  .additional p {
    font-size: 14px
  }

  .pipe {
    display: block;
    height: 2px;
    visibility: hidden
  }

  .challenge {
    font-size: 16px;
    min-width: 154px
  }

  .specialties {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px
  }

  .specialties span {
    font-size: 14px;
    margin-top: 8px
  }

  .specialties img {
    width: 74px
  }

  .specialties i {
    margin-top: 9px
  }

  .closing {
    height: 450px;
    background: linear-gradient(#09151c00, #09151c55);
    padding: 50px 20px
  }

  .closing .eyebrow {
    font-size: 10px;
    letter-spacing: 2px
  }

  .closing h2 {
    font-size: clamp(20px, 4.7vw, 33px);
    white-space: nowrap;
    letter-spacing: -1px
  }

  .closing p:last-child {
    font-size: 16px
  }

  .closing:before {
    content: none
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

}

.specialties img {
  border-radius: 50%
}

@media(max-width:760px) {
  .page:before {
    background-image: url('assets/cosmos-mobile.webp');
    background-size: auto 3200px;
    mask-image: linear-gradient(#000 75%, transparent 93%)
  }

  .workflow {
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr)
  }

  .flow-card {
    height: 190px;
    min-height: 190px
  }

  .flow-card h3 {
    font-size: 12px;
    letter-spacing: -.7px
  }

  .flow-card p {
    font-size: 12px;
    letter-spacing: -.7px;
    white-space: nowrap
  }

  .closing {
    position: relative;
    isolation: isolate;
    background: none
  }

  .closing:before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background: url('assets/waves-mobile.webp') center/auto 100% no-repeat;
    mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent)
  }

}
