@font-face {
  font-family: 'ProximaNova';
  src: url('/assets/web/main/fonts/proximanova-reg-webfont.woff') format('woff'), url('/assets/web/main/fonts/proximanova-reg-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'ProximaNova';
  src: url('/assets/web/main/fonts/proximanova-regit-webfont.woff') format('woff'), url('/assets/web/main/fonts/proximanova-regit-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap; 
}

@font-face {
  font-family: 'ProximaNova';
  src: url('/assets/web/main/fonts/proximanova-bold-webfont.woff') format('woff'), url('/assets/web/main/fonts/proximanova-bold-webfont.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'ProximaNova';
  src: url('/assets/web/main/fonts/proximanova-boldit-webfont.woff') format('woff'), url('/assets/web/main/fonts/proximanova-boldit-webfont.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap; 
}

@font-face {
  font-family: 'ProximaNova';
  src: url('/assets/web/main/fonts/proximanova-sbold-webfont.woff') format('woff'), url('/assets/web/main/fonts/proximanova-sbold-webfont.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap; 
}

html {
  transition: background-color .25s ease, color .25s ease;
}

:root{
  --blueTop:#5f87a6;
  --blueMid:#4e7a9b;
  --blueBottom:#3f6f90;
  --panel:#ffffff;
  --panelO: #1e1f2e;
  --text:#2a2a2a;
  --muted:#6f7b85;
  --link:#4e91ca;
  --shadow: 0 2px 0 rgba(0,0,0,.08), 0 10px 30px rgba(0,0,0,.12);
  --visual-shadow: drop-shadow(0 18px 25px rgba(47, 47, 47, 0.35));
  --radius: 6px;
}

[data-theme="dark"] {
  --blueTop: #2a2b3a;
  --blueMid: #1b1c2a;
  --blueBottom: #0f0f18;
  --panel: #1e1f2e;
  --panelO: #ffffff;
  --text: #e6e8ee;
  --muted: #a5adba;
  --link: #8bb4ff;
  --shadow: 0 2px 0 rgba(0,0,0,.3), 0 12px 40px rgba(0,0,0,.65);
  --visual-shadow: drop-shadow(0 18px 25px rgba(0, 0, 0, 0.5));
}


*{ box-sizing:border-box; }
body {
  margin: 0;
  font-family: 'ProximaNova', Helvetica, Arial, sans-serif;
  color: #2a2a2a;
  background: var(--body-bg, url('/assets/web/main/imgs/body_noise.png') repeat 50% 50%);
}

[data-theme="dark"] body {
  --body-bg: #343546;
}

.topBar {
  height: 44px;
  background: linear-gradient(135deg, #12171F 0%, #202936 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
}

.topBar .wrap {
  padding: 0;
}

.topBarInner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.topLinks {
  display: flex;
  gap: 14px;
}

.topBrand {
  color: #cfd8ff;
  font-weight: 600;
  text-decoration: none;
}

.topLinks a {
  color: #b6c0d0;
  text-decoration: none;
  font-weight: 500;
}

.topLinks a:hover {
  color: #ffffff;
}

.hero {
  width: 100%;
  height: 200px;
  background: url('/assets/web/main/imgs/noise.png') repeat, linear-gradient( to bottom, var(--blueTop) 0%, var(--blueMid) 45%, var(--blueBottom) 100%);
  padding: 34px 0 0;
}

.wrap {
  width:min(980px, calc(100% - 40px));
  margin:0 auto;
  position:relative;
}

.content {
  display:grid;
  grid-template-columns: 380px 1fr;
  gap: 36px;
  align-items:start;
  padding: 10px 0 42px;
}

body.errorPage .leftVisual {
  align-items:center;
}

body.contactPage .leftVisual {
  align-items:center;
}

body.joinPage .leftVisual {
  align-items:center;
}

body.wtcw .leftVisual {
  align-items:center;
}

.leftVisual {
  position:relative;
  height: 520px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}

.leftVisual img {
  width: 88%;
  height: auto;
  display:block;
  filter: var(--visual-shadow);
  transform: translateY(8px);
  user-select: none;
  transition: filter .25s ease, transform .25s ease;
}

.leftVisual a {
  display:flex;
  align-items: center;
  justify-content: center;
}

.card {
  background: #ffffff;
  border-radius: 6px;
  padding: 28px 30px 26px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.10);
  margin-top: 70px;
}

.card h1 {
  margin:0 0 12px;
  font-size: 28px;
  line-height: 1.15;
  font-weight:700;
  color: #3d3346;
}

.card p {
  margin: 0 0 14px;
  color:#2b2b2b;
  font-size:14px;
  line-height:1.55;
}

.card p strong{
  font-weight:700;
}

.card a {
  color: #3f729b;
  text-decoration: none;
}

.card a:hover {
  color: #1c5380;
  text-decoration: underline;
}

.iconRow {
  display:flex;
  gap:12px;
  align-items:center;
}

.listing {
  border: 1px solid black;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 15px;
}

.listing h3 {
  margin: 0 0 10px 0;
}

.listing p {
  margin: 0;
}

.listing a.button {
	box-shadow:inset 0px 1px 0px 0px #7a8eb9;
	background:linear-gradient(to bottom, #637aad 5%, #5972a7 100%);
	background-color:#637aad;
	border:1px solid #314179;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:Arial;
	font-size:13px;
	font-weight:bold;
	padding:10px 16px;
	margin-top: 10px;
	text-decoration:none;
}

.listing a.button:hover {
	background:linear-gradient(to bottom, #5972a7 5%, #637aad 100%);
	background-color:#5972a7;
}

.listing a.button:active {
	position:relative;
	top:1px;
}

.iconRow a {
  display:inline-flex;
  width:24px;
  height:24px;
  align-items:center;
  justify-content:center;
}

.iconRow img {
  width:24px;
  height:24px;
  display:block;
  opacity:0.9;
  transition: transform .12s ease, opacity .12s ease;
}

.iconRow a:hover img {
  transform: translateY(-1px);
  opacity: 1;
}


.footer {
  background: #343546;
  border-top: 1px solid rgba(0,0,0,.10);
  padding: 18px 0 26px;
}

.footLinks {
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
  align-items:center;
  font-size:12px;
  font-weight:700;
  letter-spacing:.2px;
  color: var(--link);
}

.footLinks a{
  color: var(--link);
  text-decoration:none;
}

.footLinks a:hover{
  text-decoration:underline;
}

.copyright{
  margin-top:12px;
  text-align:center;
  font-size:12px;
  color:#b0b0b0;
}

#themeToggle {
  position: fixed;
  bottom: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--panelO);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: background .2s, color .2s, transform .1s;
}

#themeToggle:hover {
  transform: scale(1.05);
}

#themeToggle:active {
  transform: scale(0.95);
}

body, .card, .footer, .topBar, .hero, .listing, #themeToggle {
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease,
    box-shadow .25s ease;
}

@media (max-width: 900px){
  .content{
    grid-template-columns: 1fr;
    justify-items:center;
    padding-bottom: 28px;
  }
  
  .card{
    margin-top: 0;
    width: min(560px, 100%);
  }
  
  body.errorPage .leftVisual{
    align-items:center;
  }
  
  .leftVisual{
    height:auto;
  }
  
  .leftVisual img{
    width: 50%;
    transform: translateY(10px);
  }

  #themeToggle {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}