/* Font faces used in the page */
@font-face {
  font-family: 'Inter';
  src: url('./Inter-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./Inter-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./Inter-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Golos';
  src: url('./GolosText-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Golos';
  src: url('./GolosText-DemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Golos';
  src: url('./GolosText-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body, html {
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

a {
  color: #c64e1b;
  text-decoration: none;
}

a:is(:hover, :focus, :active) {
  color: #fa773f;
}

.Button {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-family: 'Inter';
  font-size: 16px;
  padding: 0 24px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #c64e1b;
  cursor: pointer;
  max-width: 320px;
}

.Button:hover,
.Button:focus,
.Button:active {
  background: #fa773f;
  color: #ffffff;
}

a.Disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

/* Header styles */
.Header {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: 'Inter';
  font-weight: 600;
  min-height: 64px;
  padding: 0 100px;
  background-color: #1d1e21;
  z-index: 1000;
  position: sticky;
  top: 0;
  left: 0;
}

.Header__Logo {
  width: 62px;
  height: 40px;
}

.Header__Title {
  color: #ffffff;
  font-size: 16px;
  margin-left: 16px;
}

/* Main container */
.MainContainer {
  position: relative;
}

.ContentContainer {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  color: #1d1e21;
  font-family: 'Inter';
  padding: 0;
  background-color: #ffffff;
  overflow: auto;
}

/* Content sections */
.Section {
  position: relative;
  padding: 0 100px;
}

.Section__Button {
  width: max-content;
}

.Section__Title {
  font-size: 54px;
  font-family: 'Golos';
  font-weight: 700;
  margin-bottom: 72px;
  max-width: 710px;
}

.Section__Subtitle {
  font-size: 40px;
  font-family: 'Golos';
  font-weight: 600;
  margin-bottom: 52px;
}

.Section__SecondaryText {
  color: #868b87;
}

.Section__Row {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 40px;
}

.Section__Row_4060 {
  grid-template-columns: 40% 60%;
}

.Section__ColumnText {
  max-width: 950px;
}

.Section__Column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.Column__Icon {
  width: 32px;
  height: 32px;
}

.Section__Heading {
  font-family: 'Inter';
  font-weight: 600;
  font-size: 20px;
}

/* Account info section */
.Section__AccountInfo {
  padding-top: 72px;
  padding-bottom: 72px;
}

.Section__AccountInfo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.12;
  background: url(./bg-star.png) no-repeat calc(100% + 200px) 0px transparent;
  z-index: 0;
}

.Section__AccountInfo > div {
  position: relative;
  z-index: 1;
}

/* Access instructions section */
.Section__AccessInstructions {
  color: #ffffff;
  padding-top: 52px;
  padding-bottom: 52px;
  background-color: #223d36;
}

.InstructionsList > div {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.InstructionsList > div + div {
  margin-top: 16px;
}

/* Data types section */
.Section__DataTypes {
  padding-top: 52px;
  padding-bottom: 52px;
}

.DataTypeItem {
  display: flex;
  gap: 16px;
  min-height: 48px;
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 4px;
  background-color: #eee;
}

.DataTypeItem__Blocks {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

.DataTypeItem:last-child {
  margin-bottom: 0;
}

.DataTypeItem__Icon {
  width: 24px;
  height: 24px;
  padding: 12px;
  background-color: #223d36;
  border-radius: 50%;
}

.DataTypeItem__SecondaryText {
  margin-top: 12px;
}

.DataTypeItem__HighlightText {
  color: #1d1e21;
  font-family: 'Inter';
  font-weight: 700;
}

/* Data transfer section */
.Section__DataTransfer {
  padding-top: 52px;
  padding-bottom: 52px;
  background-color: #fafafa;
}

.Section__TransferSteps {
  position: relative;
  display: flex;
  flex-direction: row;
  padding-top: 60px;
}

.Section__TransferSteps::before {
  content: "";
  position: absolute;
  width: calc(80% + 40px);
  height: 4px;
  top: 18px;
  left: 0;
  background-color: #fa773f;
}

.Section__TransferStep {
  position: relative;
  width: 20%;
}

.Section__TransferStep::before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  top: -60px;
  left: 0;
  border-radius: 2px;
  border: 4px solid #fa773f;
  background-color: #fafafa;
  transform: rotate(45deg);
}

.Section__TransferStep::after {
  content: "";
  position: absolute;
  font-family: 'Inter';
  font-weight: 700;
  top: -50px;
  left: 15px;
}

.Section__TransferStep:nth-child(1)::after {
  content: "1";
}

.Section__TransferStep:nth-child(2)::after {
  content: "2";
}

.Section__TransferStep:nth-child(3)::after {
  content: "3";
}

.Section__TransferStep:nth-child(4)::after {
  content: "4";
}

.Section__TransferStep:nth-child(5)::after {
  content: "5";
}

/* Warning message section */
.Section__WarningMessage {
  background-color: #d2d2d2;
}

.WarningContent {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.WarningContent__Icon {
  width: 32px;
  height: 32px;
  padding-right: 16px;
}

/* Documents section */
.Section__Documents {
  flex: 1;
  color: #ffffff;
  padding-top: 32px;
  padding-bottom: 32px;
  background-color: #1d1e21;
}

/* Browser warning */
.BrowserWarning {
  font-family: 'Golos';
  font-size: 16px;
  background-color: #ffdcc6;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 100px;
  position: sticky;
  top: 64px;
  z-index: 1000;
}

.WarningMessageContent {
}

.WarningMessageLinks {
  line-height: 40px;
}

.WarningMessageContent__Icon {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  flex-shrink: 0;
}

.WarningTitle {
  color: #c64e1b;
  font-family: 'Golos';
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .BrowserWarning {
    padding: 24px;
  }

  .Section, .Section__AccountInfo, .Section__AccessInstructions {
    padding: 32px;
  }

  .Section__Title {
    max-width: 100%;
    font-size: 32px;
  }

  .Section__Row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .Section__ColumnText {
    max-width: 100%;
    align-items: center;
  }

  .Section__Subtitle {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .Section__WarningMessage {
    padding: 0;
  }

  .Section__TransferSteps {
    flex-direction: column;
    padding-top: 0;
  }

  .Section__TransferSteps::before {
    display: none;
  }

  .Section__TransferStep {
    display: flex;
    align-items: center;
    width: auto !important;
    padding-left: 60px;
    min-height: 40px;
    max-height: 40px;
  }

  .Section__TransferStep::before {
    top: 0;
  }

  .Section__TransferStep::after {
    top: 10px;
  }

  .Section__TransferStep + div {
    margin-left: 0;
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  .Header {
    padding: 0 12px;
  }

  .BrowserWarning {
    padding: 12px;
  }

  .WarningTitle, .PlainText {
    font-size: 14px;
  }

  .Section__Title {
    margin-bottom: 32px;
  }
}
